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.
<h3>Writting the code:</h3>
<em>#include <iostream></em>
<em>using namespace std;</em>
<em>int main()</em>
<em>{</em>
<em> float gallons, cufeet;</em>
<em> cout << "\nEnter quantity in gallons : ";</em>
<em> cin >> gallons;</em>
<em> cufeet = gallons / 7.481;</em>
<em> cout << "Equivalent in cublic feet is " << cufeet << endl;</em>
<em> return 0;</em>
<em />
<em>}</em>
See more about C++ at brainly.com/question/19705654
#SPJ1