Question: CSC 1 2 1 Final Exam You work for a local car wash company. Code a modular program that will accept a series of vehicles

CSC121 Final Exam You work for a local car wash company. Code a modular program that will accept a series of vehicles that will need to have car washes, which includes the vehicle type and the desired car wash service. Your program will calculate the total sales of all car washes. Do not accept any values for desired service other than the possible menu options. Use the table below to calculate the individual car wash fees.Vehicle TypeCar Wash ServiceCar Wash FeeCompact/SedanStandard$12.99Premium$18.99Ultimate$24.99Truck/SUVStandard$17.99Premium$22.99Ultimate$29.99In addition to main, the program must contain prototypes, definitions, and call the following functions:1.getCarWashes()Ask the user how many car washes have been purchased. Validate the input of from 1-5 car washes.2.getVehicleType()prompt the user for the vehicle type. function requires a validated vehicle type for each vehicle to be washed allow an unlimited number of chances to enter a valid vehicle type choice.3.getCarWashService()prompt for the car wash service using a menu. function requires valid service choice for each vehicle to be washed allow for an unlimited number of chances to enter a valid car wash service choice.4.calculateCarWashFee()calculates the car wash fee for each vehicle. utilizes vehicle type and the car wash service to calculate wash charge. Use global constants for the car wash fees.Calculate and display the total sales the car wash service company has made. Dollar amounts should be properly formatted. Sample output is for formatting purposes only, your totals will be different.Extra credit(10 points):Suggestion make sure the program works without extra credit code, make a copy of the program before attempting the extra credit coding.Include a function that displays your name and the date that executes before asking for the number of car washes from the user.Include a function that displays invoice information about each car wash. The function should accept 4 parameters for the vehicle number, vehicle type, service type, and car wash fee. Display the vehicle type, the service and the car wash charge as a subtotal. Calculate a 6.25% tax and add to the subtotal to calculate the final cost of the car wash. Be sure to add to the total cost of all car washes. Dollar amounts should be properly formatted. See sample extra credit output below. Sample Run without Extra Credit: Sample Output (Extra Credit):

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!