Saturday, November 16, 2013

C++ Program to Help the Car Buyer Analyze the Expected Price of Driving Her New Car

Write a C++ program to help the car buyer analyze the expected price of driving her new car. This program presents the user with a list of five cars (Corolla, City, Civic, Vitz, Swift ) and their expected miles per gallon (mpg) is provided for each car.
Select two cars
i. enter the number of miles driven each year
ii.enter the average price for a gallon of petrol
i.The program then displays the yearly total number of gallons required by the 2 cars selected
ii.total cost of fuel per year
iii.shows the difference in cost between the two vehicles selected
The five cars are: Corolla, City, Civic, Vitz, Swift






5 comments:

  1. I am happy that I found your post while searching for awesome news and idea about sell my car brisbane. Thanks! It is very useful and interesting website.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. If you are looking for an easy and convenient way to get rid of your junk, old, used, and unwanted vehicles that will help you to free up your valuable space. We are one of the most reliable cash for car sydney. Master cash for cars offer you the best cash that you can’t refuse for your cars, trucks, 4wds, vans, or all kinds of vehicles.

    ReplyDelete
  5. There are things to know before you have your vehicle scrapped. Perth Scrap Car Buyer offers the following information for car owners with scrap condition vehicles that are considering having them scrapped. We are a local car removal company that pays cash for scrap cars of every make and condition.

    ReplyDelete

Please comment, if you like the post, you find any mistake or if you have any query.