Question: A program to compute how fast customers need to drive to get up certain sections of the I-5 in a given time is required. Customers

A program to compute how fast customers need to drive to get up certain sections of the I-5 in a given time is required. Customers want a user friendly program that allows the user to enter the distance to be travelled and the time in which the travel has to be completed, and will then output the required speed. The program must allow for rest stops of 5 minutes for every 100 miles (or part there-of, e.g., 320 miles requires four rest stops) travelled. Finally, a warning must be issued indicating whether or not the required speed exceeds the speed limit of 65 MPH, it may be a boolean (true or false). Here what a sample run should look like ) ... Welcome to the I95 Speed Machine You will have to supply: + The distance to travel, in miles + The time available, in hours Enter distance to travel : 210 Enter time available : 2.4 You will have to travel at : 97.67441860465117 mph Over the speed limit : true

Note: this program must work in python

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 Databases Questions!