5. Driver (the program that runs everything) a. Create a menu system as shown below: Welcome to the Covid vaccine registertration program. Enter numbers for various menu options: Show the first citizen registered Show the last citizen registered Show the total amount of citizen registered Show whether the list is empty Add a citizen in front of the list Add a citizen at the end of the list Add citizen before a given ID Add citizen after a given ID Remove citiven with the given ID 1 2 3 5 9 10 Remove last citizen 11 Remove first citizen | 12 Show all citizens in the list 13+ Any other integers to Quit. b. A follow-up menu should prompt the user to enter aditional information for options 5-8 e.g. Enter citizen info in the following format: citizenID, citizenName,citizensurname, citizenCellNumber,registrationDay,registrationMonth,registrationYear c. When the user enters invalid input (e.g., negative integers or integer values outside the range of options 1- 12): i. Terminate the program with the following message "Program terminated due to invalid input. Thanks for using our system."

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

in java 

5. Driver (the program that runs everything)
a. Create a menu system as shown below:
Welcome to the Covid vaccine registertration program.
Enter numbers for various menu options:
Show the first citizen registered
Show the last citizen registered
Show the total amount of citizen registered
Show whether the list is empty
Add a citizen in front of the list
1
2
3
Add a citizen at the end of the list
Add citizen before a given ID
Add citizen after a given ID
Remove citiven with the given ID
Remove last citizen
Remove first citizen
8.
10
11
12
Show all citizens in the list
13+
Any other integers to Quit.
b. A follow-up menu should prompt the user to enter additional information for
options 5-8 e.g.
Enter citizen info in the following format:
citizenID, citizenName, citizenSurname,citizenCellNumber,registrationDay , registrationMonth,registrationYear
c. When the user enters invalid input (e.g., negative integers or integer values
outside the range of options 1- 12):
i.
Terminate the program with the following message
"Program terminated due to invalid input. Thanks for using our
system."
Transcribed Image Text:5. Driver (the program that runs everything) a. Create a menu system as shown below: Welcome to the Covid vaccine registertration program. Enter numbers for various menu options: Show the first citizen registered Show the last citizen registered Show the total amount of citizen registered Show whether the list is empty Add a citizen in front of the list 1 2 3 Add a citizen at the end of the list Add citizen before a given ID Add citizen after a given ID Remove citiven with the given ID Remove last citizen Remove first citizen 8. 10 11 12 Show all citizens in the list 13+ Any other integers to Quit. b. A follow-up menu should prompt the user to enter additional information for options 5-8 e.g. Enter citizen info in the following format: citizenID, citizenName, citizenSurname,citizenCellNumber,registrationDay , registrationMonth,registrationYear c. When the user enters invalid input (e.g., negative integers or integer values outside the range of options 1- 12): i. Terminate the program with the following message "Program terminated due to invalid input. Thanks for using our system."
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY