Assuming that there are 7.481 gallons in a cubic foot, write a program thatthat asks the user to enter the number of gallons, and then display the equivalent in cubic feet.
[table]#include <iostream>using namespace std;
int main() {
float gallons;
cout<<"enter the number of gallons"<<endl;
cin>>gallons;
cout <<"cubic feet : " <<gallons/7.481 << endl; // prints
return 0;
}[/table]