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 a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp