Created
November 13, 2015 06:03
-
-
Save e-tverdokhleb/891e4064d1c7e3db495c 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
public class Main { | |
public static void main(String[] args) { | |
System.out.println(oldEnogh(2123)); | |
} | |
static boolean oldEnogh(int age) { | |
if (age >= 21) { | |
return true; | |
} else | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment