Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void tryToWin(int num) {
- num++;
- if (num >= 6) {
- System.out.print("You're a winner");
- }
- System.out.print("You lose");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement