Question: DRIVING TIME ESTIMATOR Your program will estimate the driving time from WSU to the U of U campus in Salt Lake City. It will estimate

DRIVING TIME ESTIMATOR
Your program will estimate the driving time from WSU to the U of U campus in Salt Lake City. It
will estimate this by using two inputs from the user which are the average speed on the highway
and the time of day for the drive. Here's the setup:
i. Have a prompt describing the goal of the program to the user
ii. Ask for the time of day for the drive. Give them three options: 1- During the day non-
rush hour (10:00 am -3:30 pm),2- Rush hour (7:30 am -10:00 am or 3:30 pm-6:30 pm)
3- Evening drive (after 6:30 pm)
iii. Ask for their average highway speed
iv. Estimate the driving time with this information. Find a way to best utilize these two input
categories in your estimate.
v. Prompt the user the estimated driving time
vi. Thank them for using your services.
Using octave script

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!