This project is the main assessment of this subject. It is worth 40% of your total
assessment. You are required to write a C++ program to solve all problems. All work is
to be completed individually. If parts or all of the source code you submit is not your own
work, you will receive ZERO.
Part 1. Design
This first part is worth 20% of you total assessment. It is consist of 5 tasks. You need to
prepare
• Programming object list
• Algorithm
• C++ Coding
Task1: Miles per Gallon.
A liter is 0.264179 gallons. Write a program that will read in the number of liters of
gasoline consumed by the user’s car and the number of miles traveled by the car, and
will then output the number of miles per gallon the car delivered. You must show the
outputs as given in the example. You must show the numbers in fixed point left justified
and in three decimal places as in the example.
Example
This program read the number of liters of gasoline consumed (gasoline In
Liters) and the number of miles traveled by the ca