Question 5 Want Write Program Implements Guess Number Game Game Player Guess Secret Number Q31474313

Question-5: We want to write a program that implements the Guess-The-Number game. In this game the player has to guess a secret number between 0 and 100. The user keeps entering a given number if it matches the secret number the program displays Congratulation!! otherwise it displays the message Lower if the number entered is larger than secret number, Higher otherwise. The program should display “Sorry, try another time and terminates after 10 unsuccessful attempts.Question-5: We want to write a program that implements the “Guess-The-Number” game. In this game the player has to guess a secret number between 0 and 100. The user keeps entering a given number if it matches the secret number the program displays “Congratulation!!” otherwise it displays the message “Lower” if the number entered is larger than secret number, “Higher” otherwise. The program should display “Sorry, try another time” and terminates after 10 unsuccessful attempts. Show transcribed image text

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *