Back To C Basic Index
//program to input two float (decimal point) values and find their product #include
#include
void main() { float a,b; float product; clrscr(); printf("enter value for a"); scanf("%f",&a); printf("enter value for b"); scanf("%f",&b); product=a*b; printf("product of a and b is %f",product); getch(); }