#include <stdio.h>
int main()
{
int range,num,i;
printf("\n\tPrinting Multiplication Table.");
printf("\n\t-----------------------------");
printf("\nWhich Number table You want : ");
scanf("%d",&num);
printf("\nWhich Range in Your table have : ");
scanf("%d",&range);
printf("\n\tThe Multiplication table is %d...",num);
printf("\n\t\t-----------------------------);
for(i=1;i<=range;i++)
{
printf("\n\t\t%d * %d = %d ",i,num,(i*num));
}
printf("\n\t\tProgram End...\n\n");
return(0);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: