Vending machine - help needed

You will have to put some effort in it - start by learning C++ basics, and you'll be able to understand the code soon enough. It's not that hard, but it's also not something you can do without learning anything!