Question: C + + , Welcome to my Online Shopping Program! 1 . Add item 2 . Remove item 3 . Modify item 4 . Print
C
Welcome to my Online Shopping Program!
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
Name: toothbrush
Cost: $
Quantity:
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
# Item Price Qty Total Cost
toothbrush $ $
Enter item to modify:
Error. Enter valid item number: c
Error. Enter valid item number:
Name: toothbrush
Cost: $
Quantity:
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
Name: soap
Cost: $ c
Invalid cost. Enter cost: $ cat
Invalid cost. Enter cost: $
Invalid cost. Enter cost: $
Quantity: c
Invalid quantity. Enter quantity:
Invalid quantity. Enter quantity:
Invalid quantity. Enter quantity:
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
Name: floss
Cost: $
Quantity:
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
# Item Price Qty Total Cost
toothbrush $ $
soap $ $
floss $ $
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
# Item Price Qty Total Cost
toothbrush $ $
soap $ $
floss $ $
Which item would you like to remove?
Add item
Remove item
Modify item
Print cart
Checkout
What would you like to do
Cart contents:
# Item Price Qty Total Cost
toothbrush $ $
floss $ $
Please pay: $
Thank you for shopping with us
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
