11 : Write a C program that accepts two integers from the user and calculate the product of the two integers.

*/

Write a C program that accepts two integers from the user and calculate the product of the two integers. 
Test Data :
Input the first integer: 25
Input the second integer: 15
Expected Output:
Product of the above two integers = 375

*/
#include<stdio.h>
main(void)
{
int num1;
printf("Enter the first integer : ",num1);
scanf("%d",&num1);
int num2;
printf("Enter the second integer : ",num2);
scanf("%d",&num2);
int product=num1*num2;
printf("Sum of the above two integers = %d ",product);
}




Comments