#include <stdio.h>
int main()
{
int k,n=1,i,s;
printf("\nEnter the no which table do you want:");
scanf("%d",&k);
printf("\n table of %d :",k);
while(n<=10)
{
s=k*n;
printf("\n %d * %d = %d",k,n,s);
n++;
}
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: