This program prompts the user to guess a number 3 times, with the number being 55. It checks if the user's input equals 55, and if so prints "you won" and exits the program. Otherwise it increments the counter and repeats. If none of the guesses match, it prints "game over" after the 3 attempts.
This program prompts the user to guess a number 3 times, with the number being 55. It checks if the user's input equals 55, and if so prints "you won" and exits the program. Otherwise it increments the counter and repeats. If none of the guesses match, it prints "game over" after the 3 attempts.
This program prompts the user to guess a number 3 times, with the number being 55. It checks if the user's input equals 55, and if so prints "you won" and exits the program. Otherwise it increments the counter and repeats. If none of the guesses match, it prints "game over" after the 3 attempts.