e about to embark on a trip. You know your start and finish locations. However, you have not settled on a formal route for the trip. You will use Google Maps for your trip. To help make the decision, we will create a trip planning report. The user will enter three alternate routes for the trip which will have different mileages but will use the same starting and finishing locations. This program can be used to create a trip report regardless of the mileage of the trip. The input menus will not specify the route, but will: • Show a descriptive route name • A mileage value • An estimated time (to the nearest decimal - remember, 6 minutes, is 1/10 of an hour- The user may adjust the time if they wish ) from Google Maps. • If the route is expected to have any direct route expenses (tolls, ferries, etc.) • A default value Menu example: • Menu 1 - Tampa, Florida via I-75 | 1067.00 |15.33 | N

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

You are about to embark on a trip. You know your start and finish locations. However, you have not settled on a formal route for the trip. You will use Google Maps for your trip. To help make the decision, we will create a trip planning report. The user will enter three alternate routes for the trip which will have different mileages but will use the same starting and finishing locations. This program can be used to create a trip report regardless of the mileage of the trip.
The input menus will not specify the route, but will:
• Show a descriptive route name
• A mileage value
• An estimated time (to the nearest decimal - remember, 6 minutes, is 1/10 of an hour- The user may adjust the time if they wish ) from Google Maps.
• If the route is expected to have any direct route expenses (tolls, ferries, etc.)
• A default value
Menu example:
• Menu 1 - Tampa, Florida via I-75 | 1067.00 |15.33 | N
• Menu 2 - Tampa, Florida via I-77 | 1028.00 | 15.33 | N
• Menu 3 - Tampa, Florida via I-65 | 1124.00 | 16.10 | N
For the final project, you will develop a menu driven trip reporting project which will deliver the following:
Input
Prior just selecting the menus, the users will be required to enter specific, housekeeping trip information items which will be used in the above calculations. This will allow the program to be used for the various scenarios and conditions. I do not want any constants or hard-coded variables in the program unless they are specifically needed for calculation purposes. The user-specified info required shall be the following:
• Current cost per gallon for fuel
• Current cost per mile for maintenance.
• Expected fuel mileage for the vehicle.
• Any estimated tolls or direct travel expenses related to the trip. This would include tolls, ferries, extra charges, etc.
All input fields shall be labeled clearly and concisely

Output
A trip report which will provide an output to the screen of the following items:
• Start and End Dates formatted (DD/MM/YYYY)
• Trip origin and destination / Route
• Mileage formatted to two decimal places (F2)
• Expected fuel consumption for each trip - Total gallons of fuel consumed (F2)
• Expected time for each trip is rounded to a nearest quarter hour (F2)
• Average speed for each trip (F2)
• Costs for the trip, including maintenance, tolls and/or direct travel expense and fuel costs, all listed as line item costs and then summarized to provide a comprehensive trip report. ($F2)

NOTE: Code Use C++

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY