ComProg Flowchart
ComProg Flowchart
Display
While True print "1. View Store Items”
True print "2. Add Item to Cart"
loop print "3. Remove Item from Cart"
print "4. View Cart"
print "5. Checkout and Exit"
False
True
Choice Show
==”1" display_store_items()
False
Choice
True Input the name of the
item to add A
==”2"
False
True If True
Choice
== “3' shopping Show display_cart()
_cart()
False
False
A True
If item in
shopping Remove the item in
True _cart() shopping_cart()
Choice
== “4” Show display_cart()
False
True If True
Choice
== “5” shopping Show display_cart()
_cart()
False
False
End