I am learning to write programs and started with a simple one to buy when a key reversal occurs. I have only been able to get the program to make a single entry and no exit, even a very simple one. Could someone point out when I'm missing the proper code for the exit?
CODE:
Please log in to see this code.