/*(1 CUBIC FEET=7.481 GALLONS)*/
#include<iostream.h>
#include<conio.h>
void main()
{
float gal,cubf;
clrscr();
cout<<"\nENTER THE NUMBER OF GALLONS:";
cin>>gal;
cubf=gal/7.481;
cout<<"\nTHE VALUE OF "<<gal<<" GALLONS="<<cubf<<"CUBIC FEETS\n";
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
float gal,cubf;
clrscr();
cout<<"\nENTER THE NUMBER OF GALLONS:";
cin>>gal;
cubf=gal/7.481;
cout<<"\nTHE VALUE OF "<<gal<<" GALLONS="<<cubf<<"CUBIC FEETS\n";
getch();
}
No comments:
Post a Comment