Intermediate Macroeconomic
February 11, 2020
Discussion Case Study Apa Style Two References. See Attachment
February 11, 2020
Show all

C++ Basic2

Change this problem to read : Ask the user for the the number of gallons of gasoline consumed by the car and the number of miles traveled. Output the number of miles per liter the car delivered. Make sure to allow the user to repeat the calculations.

Continue with the rest of the information on page 140 #1.

Run the program with the following information:

The number of gallons of gas consumed is 15 gallons.

The car traveled 316 miles.

Run the program again with 45 gallons of gas consumed and the car traveled 535 miles.

Please upload the .cpp file and the results of running the program.

Leave a Reply

Your email address will not be published. Required fields are marked *