Use code tags when you post code and copy-pasted console output (errors):
BB Code List - Java Programming Forums - The Java Community
Your if expression syntax is wrong.
Equality, Relational, and Conditional Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)
You're expressing an inequality in your if expressions, so there's no need to specify both ends of the range-of-interest in every if expression. If a number is not less than twelve in the first if expression, it is certainly either greater than or equal to 12 - there's no need to test that again! If you're happier expressing both limits in every if expression, then you'll need to use the right syntax for the 'and' operator. Refer to the Java Tutorial link.