#include<conio.h>
#include<stdio.h>
void main()
{
int i,j,k;
clrscr();
printf(“Enter any
number”);
scanf(“%d”,&i);
printf(“The table is
: \n”);
for(j=1;j<=10;++j)
{
k=i*j;
printf(“%d\n”,k);
}
getch();
}
OUTPUT :
Enter any number 5
The table is :
5
10
15
20
25
30
35
40
45
50
0 comments:
Post a Comment