Home /
Expert Answers /
Computer Science /
section-c-scenario-based-question-s-study-the-scenario-and-complete-the-question-s-that-follow-pa388
(Solved):
Section C Scenario-Based Question(s) Study the scenario and complete the question(s) that follow: ...
Section C Scenario-Based Question(s) Study the scenario and complete the question(s) that follow: South Africa is experiencing the COVID-19 pandemic. As part of the vaccination efforts the government of South Africa has decided to make use of a program to register all the people who would like to receive the third booster shot of either the Pfizer vaccine or Moderna. They have contacted you as a C++ developer to help them in developing this app. Question 4 Develop a C++ Program using Visual Studio for the government of South Africa. The program must prompt the user to enter the number of IDs to be registered. The program must then proceed to register the IDs to an array. The program must check that there are no duplicate ID numbers entered. If there are, the program must remove these duplicates then in the end it must output the list of IDs without the duplicates. Below is a sample output of the program in operation: x Microsoft Visual Studio Debug Console Welcome to the SA Government COVID-19 ID Booster Shot Registration System Enter the number of IDs you will be registering: 6 Enter ID Number: 0: 384756 Enter ID Number: 1: 590475 Enter ID Number: 2: 384756 Enter ID Number: 3: 343489 Inter ID Number: 4: 123456 Enter ID Number: 5: 123456 40 Marks The IDs registered without duplicates are: 384756 598475 343489 123456 Source: Makura 5M (2022) Figure 3- Program Output Source: Mak 5M (2022) (20 Marks)