C Program To Generate Multiplication Table

How to write a C Program to generate Multiplication Table in C Programming Language ?


Solution For C Program:

/*C Program To Generate Multiplication Table*/

#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);
}


You may also learn these C Program/Code :

C Program To Swap Two Numbers Without Using Third Variable


Learn More :