Question: hello chegg expert, i need your help... please solve this question in max to 45 min... i gaurantee i will upvote it. Create a shopping
hello chegg expert, i need your help... please solve this question in max to 45 min... i gaurantee i will upvote it.


Create a shopping cart for "Y online Shop" which sells 6 products whose unit price and stock in hand is given below. Product Unit Price Stock in hand P1 5 50 P2 10 50 P3 10 50 P4 10 50 P5 5 50 P6 10 50 A customer can add an item (A) to the cart with the qty, he can update his qty(U) or he can remove the item(R) from the cart before he freezes the shoping. (X) A // added product p1 of 10 qty (P1,10) U // updated product p1 to 15 aty (P1,15) U // updated product p1 to 15 qty (P1,15) A (P4,10) (P3,10) R R //Removed P1 (P1) . (P2,10) // freezed shopping Output: Item in the Cart: P2, P3, P4 Sales amount: 300
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
