How to write a C Program to generate Multiplication Table in C Programming Language ?
Solution For C 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);
}
You may also learn these C Program/Code :