Code for Program to print multiplication tables using do while loop in C Programming
#include<stdio.h>
#include<conio.h>
#define COLMAX 10
#define ROWMAX 12
void main()
{
int row,col,y;
row=1;
clrscr();
printf(" MULTIPLICATION TABLE \n");
printf("____________________________________________\n");
/* Outer loop begins */
do
{
col=1;
/* Inner loop begins */
do
{
y=row*col;
printf("%4d",y);
col=col+1;
}while(col<=COLMAX);
printf("\n");
row=row+1;
}while(row<=ROWMAX);
printf("--------------------------------------------\n");
getch();
}