Question: Chapter 2 Programming Exercises, # 7 . Miles per Gallon. ( pg . 9 9 ) Modify the program to make sure the maximum number

Chapter 2 Programming Exercises, #7. Miles per Gallon.(pg.99)
Modify the program to make sure the maximum number of gallons used is not over 30.
Also modify the program to make sure the number of miles driven is not less than 1.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!