Predict the output of the program and the values for output is 2.5 and 4.2

#include stdio.h
int main() {
double a, b, product;
printf("Enter two numbers: ");
scanf("%lf %lf", &a, &b);
product = a * b;
printf("Product = %.2lf", product);
return 0;
}

Posted on by