mcqs bucket

  • MCQs Bucket | Program Program to Multiply two Floating Point Numbers in C

    mcqsbucket

      Best guide for exams of all nature, Competitive exams and Interviews

Program to Multiply two Floating Point Numbers in C

	 
                                 		

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