It's simple. The program will 'generate' a random number between 0 (included) and 101 (not included):
int randomNumber = (int)(Math.random() * 101); // 🤓
While you do not enter the right number, the program will be executed. 💻
git clone https://github.com/Gustanol/guess_the_secret_number.git
java Main.java