So after scratching my head for a long time I figured out the algorithm to approach the "Itsa Mario" program. This is the code I wrote and I am horribly stuck. The compiler gives errors when I try to make or check the file. Is my approach correct? Do I have way too many bugs in my code? Can someone help me out without giving away all the code? Thanks in advance.
[EDIT: functional code removed for Honor Code compliance.]