#include<stdio.h>
#include<conio.h>
int main ()
{
int n, count;
printf ("enter a number to print table:");
scanf ("%d", &n);
count = 1;
start:
if (count <= 10)
{
printf ("%d*%d=%d\n", n, count, n * count);
count++;
goto start;
}
return 0;
}
OUTPUT:
enter a number to print table:8 8*1=8 8*2=16 8*3=24 8*4=32 8*5=40 8*6=48 8*7=56 8*8=64 8*9=72 8*10=80