Program for Multiplication of two input number using 'C'.

#include <stdio.h>

#include<conio.h>//not necessary

void main()

{

   int num1, num2, mul; //declaration

   printf("Enter first number: "); //for input 

   scanf("%d", &num1);

   printf("Enter second number: "); //for input

   scanf("%d", &num2);


   mul = num1 * num2; //multiplication

   printf("Multiplication of the entered numbers: %d", mul);

   clrscr();//not necessary

}

Popular posts from this blog

In this problem, you will practice your knowledge on interfaces - Hacker Rank Solution.

Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.

Query the Name of any student in STUDENTS who scored higher than 75 Marks - Hacker Rank Solution.