1// Program to multiply 2 numbers from user inputs
2
3#include <stdio.h>
4int main() {
5 double a, b, product;
6 printf("Enter two numbers: ");
7 scanf("%lf %lf", &a, &b);
8
9 // Calculating product
10 product = a * b;
11
12 // Result up to 2 decimal point is displayed using %.2lf
13 printf("Product = %.2lf", product);
14
15 return 0;
16}
17