write a program to input 2 numbers and display their product
Answers
Answered by
2
Answer:
Program to Multiply Two Numbers
printf("Enter two numbers: "); scanf("%lf %lf", &a, &b); Then, the product of a and b is evaluated and the result is stored in product . product = a * b; Finally, product is displayed on the screen using printf() .
Answered by
1
Explanation:
Program to Multiply Two Numbers
printf("Enter two numbers: "); scanf("%lf %lf", &a, &b); Then, the product of a and b is evaluated and the result is stored in product . product = a * b; Finally, product is displayed on the screen using printf()
Similar questions