And more refactoring

  • 9
  • Locked
An integer from 0 to 999, inclusive, is randomly chosen. The user enters a number from the keyboard. The program responds, telling the user whether the entered number is more or less than the secret number. If the user guesses the number in 10 attempts, then the program displays: "You guessed it!"
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 38 , Greenfield, USA, United States
25 June 2022, 17:14
I have no idea why this is called "And More Refactoring". It's one of the easiest tasks I've seen in a long time, but it has absolutely nothing to do with refactoring. To pass this task you only need Java skills from Java Syntax. Still kind of fun, though.