Volume of room


/*Volume of room*/

#include<stdio.h>

main()

{

float l,b,h,volume;

clrscr();

printf(“enter the l=”);

scanf(“%f”,&l);

printf(“enter the b=”);

scanf(“%f”,&b);

printf(“enter the h=”);

scanf(“%f”,&h);

volume=l*b*h;

printf(“volume=%f”,volume);

getch();

}

output:

Related Posts

Comments are closed.