Multiplication of Two Numbers in C-Programming - Learn Engineering

All the news and updates relevant to Engineering. You can also Write a post here

Breaking

Thursday, May 28, 2020

Multiplication of Two Numbers in C-Programming

Question

Multiplication of Two Numbers

Sample TestCase Expected Output

1. 12 224


2. 2 816


Answer

    #include<stdio.h>
      int main()
    {
        int num1,num2,prod;
        scanf("%d %d", &num1, &num2);
        prod = num1 * num2;
        printf("%d",prod);
        return 0;
    }

Follow Us For More...

1 comment: