Question: c++ pls Question #2: Covid Vaccine Appointment Program (8pts) In this question, you will write a program to help the resident book Covid vaccine program.


Question \#2: Covid Vaccine Appointment Program (8pts) In this question, you will write a program to help the resident book Covid vaccine program. Here are the detail requirements that your program should follow: If you completed 3 doses, you do not need to book any appointments. If you completed less than 3 doses, you need to book the appointment based the user' entered age. Here is a list of age, possible appointment starting dates, locations, and schedules. You must use switch statement to find and display the correct location and schedule. The program prompts the user to the choice based on the above table and validates the information according to the following rules: - If the user's entered age is not in the above range, ask the user enter again until receiving a valid input. - Your program should check user's entered number of locations and schedules. If it is not in the list, ask the user enter again. - Display the complete appointment info if it is booked successfully. - Display welcome/closing messages. If the user give an invalid input of choice, your program should output message and ask user for a new one until a valid input is given. Following are some sample screen shots to illustrate the expected behavior of your program. User input at the keyboard is marked with a red circle Please note your program must display the same information but the output can be formatted differently. Figure 3 The output Example 1 of Question2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
