I need help writing a program?
Write a program that will calculate the average miles per gallon for a salesperson. The salesperson leaves his home every Monday and returns every Friday. He travels by company car. Each day on the road, the salesperson records the amount of gasoline put in the car. Given the starting odometer reading (that is, the odometer reading before he leaves on Monday) and the ending odometer reading (the odometer reading after he returns home on Friday), the program will find the average miles per gallon. The output of the program should include 1. starting odometer reading, 2. ending odometer reading, 3. total mileages, 4. Gasoline purchased on Monday, 5. Gasoline purchased on Tuesday, 6. Gasoline purchased on Wednesday, 7. Gasoline purchased on Thursday, 8. Gasoline purchased on Friday, 9. Total Gasoline purchased, and 10. average miles per gallon. All output data should be aligned by the decimal points.
A pseudo code would also help. Thanks
Win 32 in C++