Multiplication of two number using C

Question - 
Given two numbers , your task is to find the multiplication of both.
Example - 
Input : 2, 3
Output : sum is : 6
Input : 10, 45
Output : sum is : 450

Approach - 
we solve this question with the help of basic maths.

Implementation -
#include <stdio.h>

int main()
{
    int num1,num2,mul;
    printf("Enter first integer numbers : ");
    scanf("%d",&num1);
    printf("Enter second integer numbers : ");
    scanf("%d",&num2);
    mul=num1*num2;
    
    printf("Multiplicaion is : %d",mul);

    return 0;
}

Comments