C program to find the multiplication of two numbers in table format

In this post, we will know about code for c program to find the multiplication of two numbers in table format. So read the full post.

Code for C program to find the multiplication of two numbers in table format

#include<stdio.h>
#include<conio.h>
int main()
{
int n, i=5;
printf("Enter an integer: ");
scanf("%d", &n);
printf("%d * %d = %d \n", n, i, n * i);
}
return 0;
}

Output:

Enter an integer: 5
5 * 5 = 25

Read: Program to find Celsius to Fahrenheit and its reverse using if statement


If You Like This Page Then Make Sure To Follow Us on Facebook, G News and Subscribe Our YouTube Channel. We will provide you updates daily.
Shares
facebook sharing button Share
twitter sharing button Tweet
whatsapp sharing button Share
telegram sharing button Share
pinterest sharing button Pin

Leave a Comment