Get Help With Your Essay

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

For This or a Similar Paper Click To Order Now

 

he chart below lists the 2020 season passes for skiers at the Massanutten Ski Resort theme park in Massanutten, VA. You must write a program that calculates the season ticket price for a customer who may be purchasing as an individual or for a family. First, you must ask the customer for their last name as input into the program. Then, you must ask the user if they are purchasing a Family Pass or Individual Pass. If they are purchasing a Family Pass, then you need to display the menu options for purchasing a Special Value Pass for Family of 4 or Full Season Pass for Family of 4. If they are purchasing an Individual Pass, then you need to display the menu options for purchasing a Special Value Pass or Full Season Pass or Student Full Season Pass. After the pass is chosen by the user, you will need to ask the customer if they are active duty military or a veteran since a military discount will be given for 10% off of any pass purchased. You will need to calculate the military discount amount for those receiving it. You will need to calculate the Final Price by taking the price for the pass that the customer has chosen less the military discount amount. Display details to the customer that include the customer name, pass purchased, pass price, military discount amount given if any, and the final price. See the test cases below to see the exact order of menus to use when writing the program. You will need to format monetary amounts with 2 decimal places. This requires use of the printf command to create the columns and control decimal places. You must ensure that if the user enters lower case or upper case responses, that your decision structures will process the customer correctly. You must use a char data types and string data types in the menus as shown.

Get Help With Your Essay

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."

For This or a Similar Paper Click To Order Now