Created
April 23, 2017 17:50
-
-
Save jrg94/0ec53deb1c39e891c0f50a3861fa9c04 to your computer and use it in GitHub Desktop.
This file contains 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
public static void tryToWin(int num) { | |
num++; | |
if (num >= 6) { | |
System.out.print("You're a winner"); | |
} | |
System.out.print("You lose"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment