This preview shows page 1. Sign up to view the full content.
Unformatted text preview: terminates the input. 7) Prompt for and accept the odometer miles and gallons for each gas purchase. 8) Calculate and display the mileage (mpg) for each gas purchase after its data is input. 9) After all data has been input, calculate the overall mileage(mpg_. 10) Display the overall mileage and a termination message "Done."...
View Full Document
- Winter '00