FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 49   



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



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News