//C program to multiply two
//floating point numbers
#include <stdio.h>
//Function to multiply floating point
//numbers
float multiply(float a,float b)
{
return a*b;
}
//Driver Code
int main()
{
float A=2.12, B=3.88, product;
//Calling the product function
product=multiply(A,B);
//Displying the result upto 3 decimal places
printf("Product of entered numbers is:%.3f",product);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: