I need help with this code, is there a way I can make it so after the do while loop runs once, and when it does again, it uses the score 15 again instead of the previously calculated score, so i can never get to 0 or 50. I don't know what to change in the score function to make this possible.
Make your 'Scor'e variable static, then it will initialized only by the first call an then it remains its value between other function calls. staticint Score = 15;