Question: Write a program that allows the adding, removing, and displaying of items in a list. It should work as shown below. User input is shown

Write a program that allows the adding, removing,
and displaying of items in a list.
It should work as shown below. User input
is shown in blue.
(A)dd,(R)emove,(S)how,(Q)uit >A
Add what item to the list?
FRED
FRED has been added to the list.
(A)dd,(R)emove,(S)how,(Q)uit >A
Add what item to the list?
SUE
SUE has been added to the list.
(A)dd,(R)emove,(S)how,(Q)uit >A
Add what item to the list?
SAM
SAM has been added to the list.
(A)dd,(R)emove,(S)how,(Q)uit >S
Items in the list:
FRED
SUE
SAM
(A)dd,(R)emove,(S)how,(Q)uit >R
Remove which item from the list?
FRED
FRED has been removed from the list.
(A)dd,(R)emove,(S)how,(Q)uit >S
Items in the list:
SUE
SAM
(A)dd,(R)emove,(S)how,(Q)uit >Q
Okay, done.

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 Databases Questions!