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
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++
Step by stepSolved in 2 steps
- Write a stored procedure named displayNumberOfFilmRatings(). The displayNumberOfFilmRatings () procedure should find number of films for each film rating and then display the film rating and the number for films having that type of rating. Note: The displayNumberOfFilmRatings() procedure does not need to declare any variables. Hint: The output should have two columns only. Hint: There is no need to use cursor processing for this stored procedure.arrow_forwardThe user should be able to test different monthly deposit amounts, interest rates, and lengths oftime to see how increases and decreases impact their investment growth.4. Your code will need to account for the following:a. Month: The number of months based on user input in the “Number of Years” fieldb. Opening Amount: The initial investment amount as well as the opening balance eachmonth, which includes interestc. Deposited Amount: The dollar amount the user plans to deposit each month. This valuewill be the same every month for the duration of the investment.d. Total: The sum of the opening and deposited amountse. Interest: Money earned based on the “annual interest” rate input by the user. Theinterest based on an opening amount of $1 and a deposited amount of $50 with aninterest rate of 5% compounded monthly is:(Opening Amount + Deposited Amount) * ((Interest Rate/100)/12)OR(1 + 50) * ((5/100)/12)Note: Dividing by 100 converts the interest rate percentage to a decimal.Note: 12 is the…arrow_forwardUsing JavaFX Write a program to design a graphical user Interface for Salon Reservation System. Your Main Window Should have the 5 following Buttons Along with the LOGO placed at the top of the window of the company : 1- Add booking 2- Update booking 3- Delete booking 4- Search booking 5- Servicesarrow_forward
- Create a financial application that helps plan for retirement. The user will enter the data of their present age. Everyone is considered to be retiring at 70 for purposes of this application. The user will also enter how much money per year they will place into the retirement plan. I have to do this using Flowgorithm.arrow_forwardPLEASE USE FLOWGORITHM.Design a program for Jones College. The current tuition is $12,000 per year, and tuition is expected to increase by 5 percent each year. Display the tuition amount for each year over the next five years (use a looping structure) and also the total tuition at the end of the program. Hint: You will need to use two assignment statements for calculating purposes. One will be an accumulating total assignment statement.arrow_forwardPython question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks. If there is a vote at a meeting, there are several possible outcomes based on the numberof yes and no votes (abstains are not counted). If all the votes are yes, then the proposalpasses "unanimously", if at least 2/3 of the votes are yes, then the proposal passes with"absolute majority", if at least 1/2 of the votes are yes, then the proposal passes by"simple majority", and otherwise it fails. Write function vote() that takes as input thenumber of yes votes and the number of no votes and then prints the outcome of the vote.>>> votes(9, 0)proposal passes unanimously>>> votes(6, 3)proposal passes with absolute majority>>> votes(5, 4)proposal passes with simple majority>>> votes(4, 5)arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY