Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2 . Console Menu Implementa on ( Phase 2 ) The class WestminsterShoppingManager should display a menu in the console ( not in the GUI
Console Menu Implementaon Phase
The class WestminsterShoppingManager should display a menu in the console not in the GUI containing the
following management acons from which the manager can select one. You should have a menu with a list of opons
Add a new product to the system. It should be possible to add either electronics or clothing, with all the relevant
informaon all the aributes defined in the relave class You should consider that the system can have a maximum
of products marks
Delete a product from the system, inserng the product ID Display a message with the informaon of the product
if it is electronics or clothing that has been deleted and the total number of products le in the system marks
Print the list of the products in the system. For each product, print on the screen all the informaon aributes
defined in the corresponding class and say if it is electronics or clothing. The list should be ordered alphabecally
according to the product ID marks
Save in a file the list of products that have been added to the system, with all the relave aributes The next me
the applicaon starts, it should be able to read back all the informaon saved in the file and connue to use the
system marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started