Enter the secret number when prompted.
The test of the second if was inverted and then if the guessed number was greater than the secret one the branch will not be activated and the cat remains silent until the user input a number grater than the secret one.