In my group vending machine project, we chose to make an ice cream vending machine. We have three brands and each brand has three flavors. We created code which shows "not enough money" when people don't have enough money to buy the ice cream. Furthermore, we created an algorithm (procedure to code something) to calculate the change. The change is given starting from largest to smallest bills and coins.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
April 2016
Categories |