Byte age = /*Input the persons age here*/ 39;         if (age>=18){             System.out.println(true+" "+",Your an adult");         }         else {             System.out.println(true+" "+",Your an child");         }

Read more of this post