#include <stdio.h>
int main()
{
double x, y, result;
printf("Enter two numbers: ");
scanf("%lf %lf", &x, &y);
result = x * y;
printf("Product = %.2lf", result);
return 0;
}
Output:-
Enter two numbers: 10 15
Product = 150.00
Enter two numbers: 10 15
Product = 150.00
0 Comments