Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

c++ pls
image text in transcribed
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

Marginal cost Equation (In Detail)

Answered: 1 week ago