Question: Research several car-pooling websites. Create an application that calculates your daily driving cost, so that you can estimate how much money could be saved by car pooling, which also has other advantages such as reducing carbon emissions and reducing traffic congestion. The application should input the following information and display the user’s cost per day of driving to work:

  1. Total miles driven per day.
  2. Cost per gallon of gasoline.
  3. Average miles per gallon.
  4. Parking fees per day.
  5. Tolls per day.

Click here to see other solutions to Deitel C How To Program exercises | Click here to see the same program in Java.

Write A Comment