Question: Put in a trip planning program to calculate the travel time of your upcoming trip. The trip planner should ask the user for the following

Put in a trip planning program to calculate the travel time of your upcoming trip. The trip planner should ask the user for the following information:
    The number of miles to drive: 509
    The speed you will drive: 75 mph
    The number of stops you plan to make: 8
    The duration of your stops: 6 hours and 4 minutes

The trip planner should calculate and display the total time your trip will take to complete.

Include the following:
    Comment line at the beginning with the name Hector and netID: Di8465
    Commented code detailing what your code does
    Several prompts for information which must be stored in variables
    Variable names should describe what the variable stores
    At least a single calculation which stores the answer in a new variable
    The result must be clearly displayed to the user.

Step by Step Solution

3.31 Rating (145 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Deta for cc 3 share ons eys mainpy Contact Us GDB 1 Hector 12345 2 F NetID Di8465 3 Prompt the user ... View full answer

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!