In this tutorial, we are going to write a C Program to print the multiplication table from 1*1 to 12*10 in C Programming with practical program code and step-by-step full complete explanation.

C Program to print the multiplication table from 1*1 to 12*10


C Program to print the multiplication table from 1*1 to 12*10.

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

#define COLMAX 3
#define ROWMAX 12

void main()
{
    int row, column, y;
    row=1;

    printf("MULTIPLICATION TABLE\n");
    printf("-------------------------\n");

    do
    {
        column=1;
        do
        {
            y=row*column;
            printf("%d",y);
            column=column+1;
        }
        while(column<= COLMAX);
        printf("\n");
        row=row+1;
    }
    while(row<=ROWMAX);

    printf("-------------------------");
}


Output

 
           MULTIPLICATION TABLE
-------------------------------------------------
1   2   3
2   4   6
3   6   9
4   8   12
5   10  15
6   12  18
7   14  21
8   16  24
9   18  27
10  20  30
11  22  33
12  24  36