Using the knowledge in computational language in C++ it is possible to write a code that asks the user to enter a number of gallons.
#include <iostream>
using namespace std;
int main()
{
float gallons, cufeet;
cout << "\nEnter quantity in gallons : ";
cin >> gallons;
cufeet = gallons / 7.481;
cout << "Equivalent in cublic feet is " << cufeet << endl;
return 0;
}
See more about C++ at brainly.com/question/19705654
#SPJ1