1.

Write a C program to print table of number 1 to 20?

Answer»

#include
void MAIN()
{
int N,i;
printf("ENTER the NUMBER");
Scanf("%d" ,&n);
for(i=1 ; i<21 ; i++)
{
printf("%d * %d = %d\n",n,i,n*i);
}
}



Discussion

No Comment Found