Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions