Hello Devs,
In this tutorial, we are going to learn C program for multiplication of two numbers.
Here is a well-commented example you can understand and analyze.
#include <stdio.h>
int main()
{
int n1, n2, mul;
printf("Enter two integers: ");
scanf("%d %d", &n1, &n2);
mul = n1 * n2;
printf("Multiplication of two numbers is:= %d\n",mul);
return 0;
}
I hope this example helps you.