C Program to Print Table of any Number

#include<stdio.h>
#include<conio.h>
void main ()

{
clrscr();
int i,n,c;
printf(“Enter the number”);
scanf(“%d”, &n);
for(i=1;i<=10;i++){
c=n*i;
printf(“%dX%d=%d \n”,n,i,c );
}
getch();
}

Leave a Reply