C Language program to multiply given two numbers
Following program shows you how to multiply given two numbers.
In this program we get inputs from user and multiplies those two inputs
#include <stdio.h>
int main() {
int input1;
int input2;
printf("Enter first number:");
scanf("%d", &input1);
printf("Enter second number:");
scanf("%d", &input2);
int result = input1 * input2;
printf("Multiplication of given two numbers is: %d", result);
}
Output:
Enter first number: 5
Enter second number: 2
Multiplication of given two numbers is: 10