// Scott DeRuiter 9/12/00 // AgeInfo.java // Will respond to a particular age with an appropriate message. public class AgeInfo { public static void main (String [] args) { int age = 12; if ( age >= 0 && age <= 60 ) { if (age > 13) { System.out.println ("The age is greater than 13!"); System.out.println ("Do you have a driver's license?"); } else if (age > 11) System.out.println ("Are you in Junior High?"); else if (age > 5) System.out.println ("Are you a student at Lincoln?"); else System.out.println ("Are you attending day care?"); } System.out.println ("Goodbye"); } }