Page 1 of 1

1. Create a new class for a shopping Cart 2. Create fields for the following: subtotal = 0 SalesTax =10% of the total Pr

Posted: Thu Jul 14, 2022 2:28 pm
by answerhappygod
1 Create A New Class For A Shopping Cart 2 Create Fields For The Following Subtotal 0 Salestax 10 Of The Total Pr 1
1 Create A New Class For A Shopping Cart 2 Create Fields For The Following Subtotal 0 Salestax 10 Of The Total Pr 1 (25.88 KiB) Viewed 32 times
1. Create a new class for a shopping Cart 2. Create fields for the following: subtotal = 0 SalesTax =10% of the total ProductQuantity = 0; shoppingCartName = yourname 3. Create Auree methods in the class: To allow the customer to add products (this should increment the ProductQuantity field). To allow the customer to delete products. This should deduct from the ProductQuantity field and should not deduct in ProductQuantity is 0 and print the quantity with Shopping Name 4. Create another method to print Subtotal, Shopping Cart Quantity, and SalesTax 5, Create another class with main method for entry point of your program Give user options to Show Subtotal Balance, Add Product, Delete Product from cart and Exit out of program Add some System.out.printin's in all methods above as well.