Thursday, July 25, 2013

Program to find the volume of tray

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float l,b,h,v;
cout<<"Enter the length of tray : ";
cin>>l;
cout<<"Enter the breadth of tray : ";
cin>>b;
cout<<"Enter the height of tray : ";
cin>>h;
v=l*b*h;
cout<<"Volume is : "<<v;
getch();
}

No comments:

Post a Comment

Popular Posts