In C Program to Multiply Two Floating-Point Numbers C Program example, the product of two floating-point numbers entered by the user and calculated and printed on the screen.
#include<stdio.h> #include<conio.h> void main() { float num1,num2,mul; clrscr(); printf("\n Enter First No:"); scanf("%f",&num1); printf("\n Enter Second No:"); scanf("%f",&num2); mul=num1*num2; printf("\n Multiply Two Floating-Point Numbers =%f",mul); getch(); }