C++ Exercise 3 – car problem 1


category: Fuel Economy


Problem : Write a program that computes the number of miles you can drive a car given the estimated number of miles per gallon and the number of gallons of gas you purchased as input data. Also compute and display the cost of the gasoline based on the cost per gallon.

Recommended Guide

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.