0
Write a program that plays a computerized form of the "guess number" game.
It works like this:The player has ten tries to guess the magic number. If the number entered is the value you have selected for your right number,have the program print the message "RIGHT!" and then terminate. Otherwise, have the program report whether the guess was high/low and then let the player enter another number.This process goes on until the player guesses the number or the ten tries have been used up. For gun,you might want to report the number of tries to guess the number!
3 Antworten
+ 4
https://code.sololearn.com/cZ1NrcML7tz1/?ref=app
Bro i hope you thought about it before asking for solution. Hope this helps ^-^
PS : this doesn't work on SL.
+ 1
It is a problem of a book