![JAR search and dependency download from the Maven repository](/logo.png)
simple2.examples.SecretNumber.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of goldengine Show documentation
Show all versions of goldengine Show documentation
Java implementation of Devin Cook's GOLD Parser engine
Assign SecretNumber = 64
Display 'Please guess the secret number: ' Read Guess
While Guess <> SecretNumber Do
If Guess < SecretNumber Then
Display 'Your guess was too LOW. Try again: ' Read Guess
End
If Guess > SecretNumber Then
Display 'Your guess was too HIGH. Try again: ' Read Guess
End
End
Display 'Correct!'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy