// class 2 demo 2 // Mr Minich #include using namespace std; int main() { // ************** declaration statements *********** int numGallons = 0; double gasPrice = 3.00; const double GAS_TAX = 0.33; double totalPrice = 0.0; // ************** user input *********************** cout << "Please enter the number of gallons: "; cin >> numGallons; // ************** computations ********************* totalPrice = (numGallons * gasPrice) + (numGallons * GAS_TAX); // ************** output display ******************* cout << "The total price is $" << totalPrice << endl; return 0; }// end of main