This C program to Draw N Number of Tables. This Number has use Integers Numbers, And User Enter The First to Last Numbers to be Draw Table. For Example:- 2 to 9, 1 to 99.
C programming code
#include<conio.h>
#include<stdio.h>
void main()
{
int n, m, i, j;
clrscr();
printf("\n Enter the first No. of Table ");
scanf("%d",&n);
printf("\n Enter the Last No. of Table ");
scanf("%d",&m);
for( i = n ; i <= m ; i++ )
{
printf("\n\n %d= ", i);
for( j = 1 ; j < 11 ; j++ )
{
printf("%3d, ", i*j);
}
}
getch();
}
Output:-

C programming code
#include<conio.h>
#include<stdio.h>
void main()
{
int n, m, i, j;
clrscr();
printf("\n Enter the first No. of Table ");
scanf("%d",&n);
printf("\n Enter the Last No. of Table ");
scanf("%d",&m);
for( i = n ; i <= m ; i++ )
{
printf("\n\n %d= ", i);
for( j = 1 ; j < 11 ; j++ )
{
printf("%3d, ", i*j);
}
}
getch();
}
Output:-
