-
-
Save zontyp/e749ac1eedbb1dcae0132afde4476132 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main (){ | |
print("start - please guess number"); | |
int secretNumber = 5; | |
int userNumber = 3; | |
if (userNumber < secretNumber) | |
print("my number is high"); | |
if (userNumber > secretNumber) | |
print("my number is low"); | |
if (userNumber == secretNumber) print("Yes you are right."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment