Aa

Text size

?

Map / Loops / 10

⌨️ Write

Guess the number

The computer guesses the secret number 37 between 1 and 100 by always trying the middle. Finish the loop so it prints each guess and then the result, exactly like: 50 too high 25 too low 37 correct found in 3 guesses

  • while
  • break
  • if