Here is a program to convert gallons to cubic feet:
#include <iostream>
using namespace std;
int main() {
float gallons, cubicFeet;
cout << "Enter gallons: ";
cin >> gallons;
cubicFeet = gallons / 7.481;
cout << gallons << " gallons is equivalent to " << cubicFeet << " cubic feet.";
return 0;
}