icon

UseTopicwritingscode to get 5% OFF on your first order!

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.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes