Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. public static void tryToWin(int num) {
  2. num++;
  3.  
  4. if (num >= 6) {
  5. System.out.print("You're a winner");
  6. }
  7.  
  8. System.out.print("You lose");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement