NEED A PERFECT PAPER? PLACE YOUR FIRST ORDER AND SAVE 15% USING COUPON:

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.

Looking for this or a Similar Assignment? Click below to Place your Order