Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7210 - Тооны хүрд

Өгөгдсөн тооны хүрдийг дараах хэлбэрээр гарга.

Input

n натурал тоо өгөгдөнө. n<=10.

Output

n тооны хүрд нэг нэг мөрөнд хэвлэ.

Example

Input:
3

Output:
3*1=3
3*2=6
3*3=9
3*4=12
3*5=15
3*6=18
3*7=21
3*8=24
3*9=27
3*10=30

Нэмсэн:Bataa
Огноо:2011-06-21
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2023-08-21 05:21:39
noob
#include <iostream>
using namespace std;
int main() {

int a,b,c,i,d,f=2,n,s=1;
cin>>a;
for(i=1;i<=10;i++){

cout<<a<<"*"<<i<<"="<<i*a<<endl;

}

return 0;
}
2023-07-23 16:34:29
#include<stdio.h>

main(){

int a;

scanf("%d",&a);

for(int d=10,c,b=1; d>=b; b++){
c=b*a;
printf("%d*%d=%d\n",a,b,c);
}// herwee urjwer gargahiig huswel printf ba haragdah baidal deer n zasaj bichnee
}
2023-04-13 07:23:19
#include<bits/stdc++.h>
using namespace std;
int i,b,n;
int main(){
cin>>b;
for(i=1;i<=10;i++){
n=b*i;
cout<<b<<"*"<<i<<"="<<n<<endl;
}
}
2023-03-03 07:57:59
#include<bits/stdc++.h>
using namespace std;
int main ()
{
int s, i, n;
cin >>n;
s = 0;
for (i = 1; i <= 10; i++){
s = n * i;
cout << n << "*" << i << "=" << s <<endl;
}

}
2023-03-01 16:52:11
#include <stdio.h>

int main()
{
int a,i,b,c,d;
scanf("%d", &a);
for (i=1;i<=10;++i)
printf("%d*%d=%d\n", a, i, a*i);
return 0;
}sj
2023-01-07 10:23:08
#include<stdio.h>
int main()
{
int n, i;
scanf("%d" ,&n);
for(i=1; i<=10; i++)
printf("%d*%d=%d\n" ,n ,i ,n*i);
return 0;
}
2022-11-06 10:00:58
//C language.
#include <stdio.h>
#include <stdlib.h>
int main() {
int n, i, sum;
scanf("%d", &n);
if(n<0 || n>10) {
printf("Zuw too oruulna uu!");
exit(0);
}
for(i=1; i<=10; i++) {
sum=n*i;
printf("%d*%d=%d\n", n, i, sum);
}
return 0;
}
2022-10-26 05:33:45
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,i,n;
cin>>a;
n=0;
for(i=1;i<=10;i=i+1){
n=a*i;
cout<<a<<"*"<<i<<"="<<n<<endl;
}
}
2022-10-13 03:46:01
#include<iostream>
using namespace std;

int main()
{
int n,p=1;
cin >> n;
for(int i = 1; i <= 10; i++)
{
p = n*i;
cout << n << "*" <<i << "="<<p<<endl;
}

return 0;
}
2022-10-12 08:25:35
ene deer hisen sda yamr t1 sda ve te mnaihan lalar chin
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.