#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();
}
#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