Gallons to Cubic Feet


Program to Convert Gallons to Cubic Feet

 

#include <iostream.h>

#include <conio.h>

int main()

{

float a,b;   

cout<<"Enter the number of gallon: ";

cin>>a;

b=a*7.481;

cout<<a<<" gallons are equivalent to "<<b>>" cubic feet";

getch();

return 0;

}

 

 

No comments :

Post a Comment