CSIT C Programming (Multiplication Table)
In this post, I am going to teach you how to print MULTIPLICATION Table of numbers up to n.
Question: Write a C Program to Display Multiplication Table of numbers up to n.
Let's have a look at Coding.
#include<stdio.h>
int main()
{
int i,j;
for ( i = 1; i <= 10; i++)
{
printf("Multiplication table of: %d\n",i);
for ( j = 1; j <= 10; j++)
{
printf("%d X %d = %d\n",i,j,i*j);
}
printf("_____________------******---////---------*********_____________\n");
}
return 0;
}
If This post Helped you, Please leave a comment, and share with your Coder Friends.
Thank You.
Keep Learning, Keep Growing
Comments
Post a Comment