This program is a simple simulation of the algorithm for a drink vending machine. It is written in C.