| Title | Vending Machine |
| Catalog Type | SLCItem |
| Persistent ID | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_vending_machine&ch=py_vending_machine2 |
| Platform Name | PCEX |
| Features | — |
| Description | Suppose we have a vending machine that gives change. A customer selects an item for purchase and inserts a bill into the vending machine. The vending machine dispenses the purchased item and gives change. We will assume that all item prices are multiples of 5 cents, and the machine gives all change in quarters, dimes, and nickels. Construct a program that computes how many quarters, dimes, and nickels to return to the customer. |
| Keywords | operators, variables |
| Author | Kamil Akhuseyinoglu |
| Institution | University of Pittsburgh |
| Iframe URL | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_vending_machine&ch=py_vending_machine2 |
| Protocol | PITT, HTML |
| Protocol URL | |
| License | MIT |
| Programming Language | Python |
| Natural Language | en |