Introduction - If you have any usage issues, please Google them yourself
Principals of Operation
You can imagine the external interface of the vending machine including a product display area allowing customers to see the available products, a status panel that displays messages when users take actions (e.g. to tell the user she must insert more money if not enough money has been inserted for a purchase), a coin slot for inserting money, a set of buttons for selecting a product to purchase, and a delivery chute from which customers may retrieve a purchased product.
Internally the vending machine contains a set of product racks. Each product rack holds a set of products all of the same type.
Two types of individuals may use a vending machine, a customer and a service professional. The customer can insert coins into the vending machine, press buttons to purchase products (sodas), and retrieve products from the vending machine’s delivery chute one at a time. The service professional can add products to the vending machine, request the number of products of