Back To C Loops Index
//program to print table of a number entered by the user using for statement #include
#include
void main() { int i,a; clrscr(); printf("enter number to print table of "); scanf("%d",&a); for(i=1;i<=10;i++) { printf("%d\n",i*a); } getch(); }