c program to print table of given number


#include<stdio.h>
#include<conio.h>

void main()
{
int i,n;
clrscr();

printf(“Enter any number:”);
scanf(“%d”,&n);
printf(“Table of %d is:n”,n);

for(i=1;i<=10;++i)
printf(“n%d*%d=%d”,n,i,n*i);
getch();

}