galleons

Write a program that calculates the amount of change to be returned from a vending machine using Harry Potter currency.

Assignment 3 – Vending Machine Write a program that calculates the amount of change to be returned from a vending machine using Harry Potter currency. In the wizarding world of Harry Potter, the currency system is not based off dollars and cents, but instead 3 different coins: knuts, sickles, and galleons. The conversion values for […]

Scroll to top