#include<stdio.h>
#include<conio.h>
main()
{
long n,m=1,ans;
clrscr();
printf("Enter Number to print table: ");
scanf("%ld",&n);
printf("\n");
multi:
if(m<=10)
{
ans=m*n;
printf("%ld * %ld = %ld\n",n,m,ans);
m++;
goto multi;
}
getch();
}
#include<conio.h>
main()
{
long n,m=1,ans;
clrscr();
printf("Enter Number to print table: ");
scanf("%ld",&n);
printf("\n");
multi:
if(m<=10)
{
ans=m*n;
printf("%ld * %ld = %ld\n",n,m,ans);
m++;
goto multi;
}
getch();
}