Program to generate
Multiplication Table
Program
#include<stdio.h>
void main()
{
int num, ctr;
printf("\nEnter
Number for the Table : ");
scanf("%d",
&num);
printf("\nNow
Printing the Table...\n");
for(ctr = 1; ctr
<= 10; ctr++)
printf("%d\t*\t%d\t=\t%d\n",
num, ctr, num * ctr);
}
No comments:
Post a Comment