Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Get immediate and reliable answers to your questions from a community of experienced professionals on our platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

Drivers are concerned with the mileage obtained by their automobiles. one driver has kept track of several tankfuls of gasoline by recording miles driven and gallons used for each tankful. develop a sentinel-controlled-repetition script that prompts the user to input the miles driven and gallons used for each tankful. the script should calculate and display the miles per gallon obtained for each tankful. after processing all input information, the script should calculate and display the combined miles per gallon obtained for all tankfuls (that is, total miles driven divided by total gallons used)