Problem Statement : Program to Print Pyramid of Multiplication Tables
Program :
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=0;i<=6;i++)
{
for(j=0;j<=i;j++)
{
printf("%d\t",i*j);
}
printf("\n");
}
getch();
}
Output :
0
0 1
0 2 4
0 3 6 9
0 4 8 12 16
0 5 10 15 20 25
0 6 12 18 24 30 36
Related Articles:
- Print the Pattern of Binary Numbers (Pyramid)
- Program to print 1-10 Numbers in Pyramid fashion
- Program to Print this Right angled Pyramid in C using Nested Loops in C
- C Program to Print Inverted Pyramid
- Pyramid Programs in C Programming
- Print table of n and square of n
About the author: Pritesh View all posts by Pritesh
My name is Pritesh Taral. I am working in well known MNC. as Java Developer. I am part time blogger loves writing articles on C/C++.
I am active on facebook using community fan page .One can Visit me @ Facebook
Facebook Fan Page