Cartmann
2010-02-20 15:20:18
Hi!, I'm going througe the big javabook, and can't get one of my assignments to compile! =0
public class Age
{
public static void main(String[] arg)
{
int age;
age = 15;
if (age >= 18)
System.out.println("Your an adult.");
else
System.out.println("Your not an adult.");
if (18< age >=15) //Issue
System.out.println("But you may fuck, hell yeah!");
else
System.out.println("Dam dam dammm no womans 4 you my little amish mate");
System.out.println("You are " + age + " years old.");
}
}Would be glad if someone could tell me how to make my 'age' go between these two bars? thanks!