Slot Machine Credit Converter in C++