Find multiplication of two numbers - C Program

C program to read two numbers and print the multiplication of numbers.

Solution:

In this program, we will learn how to multiply two numbers in C Program by taking user input.

#include<stdio.h>
int main()
{
      int num1,num2, mul;
      printf("\tEnter Two Numbers\n");
      printf("--------------------------------\n"); // To format an output
      printf("Enter First Number : ");
      scanf("%d", &num1);
      printf("\nEnter Second Number : ");
      scanf("%d",&num2);
      mul=num1*num2;
      printf("\nMultiplication of %d & %d = %d",num1,num2,mul);
      return 0;
}


Output:

multiplication of two no