My code is a guessing game. When the user runs out of guesses or guesses the magic number, I am supposed to ask them if they want to guess a number again. It should be able to run 1000 times as long as the user doesn't enter the sentinel, which is "no." I need to make my code a loop to where it will keep going until the user says "no."
I attempted to do this at the bottom of my code, but got stuck because I feel like I should've done something at the beginning to make it a loop... Can someone show me how I should include this in my code?