#include<stdio.h>
void main()
{
int r,n,i;
printf("\n\tMULTIPLICATION TABLES");
printf("\nEnter a number for which you want the tables:");
scanf("%d",&n);
printf("\nEnter the range upto which you want the tables:");
scanf("%d",&r);
printf("\n\tTABLES FOR %d ",n);
for(i=1;i<=r;i++)
{
printf("\n\t %d * %d = %d ",i,n,(i*n));
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: