You are to develop software for a simple online shopping situation. The entities
ID: 3641742 • Letter: Y
Question
You are to develop software for a simple online shopping situation. The entities in this scenario include the web shop, customers, products, orders and invoices. The shop has a list of products available. A customer logs in, selects products and adds them to his/her order. When the shopping is complete an invoice with unique invoice number is generated for the order. There are 10 products in this simple example and they should be stored in an array. Products can be added and deleted from an order. Only one customer at a time need be considered. ONLY C++ CODE PLEASE.
Chainsaw CS001 59.95
Bowie_knife BK001 39.95
Samurai_sword SS001 159.95
Axe AX001 29.95
Colt_45 CO001 299.95
Magnum_357 MG001 359.95
Shotgun SG001 158.00
UZZI UZ001 550.95
Machete MT001 49.95
Sniper_rifle SR001 290.95
Operation of your program:
1. Login
2. User and password is accept, customer can be created
3. Menu of product appears
4.User can select from menu, which then is added to the order
5. Quit option should be available
6. Option to delete items in order
7. Once this phase is done quit, an invoice should be generated and displayed
8. The program can finish or the user logout