Assignemnt #46 and AgeMessages3 Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: AgeMessages3 /// File Name: AgeMessages3.java /// Date Finished: 11/17/2015 import java.util.Scanner; public class agemessages3 { public static void main( String[] args ) { Scanner keyboard = new Scanner(System.in); String name; int age; System.out.println( " Your name: "); name = keyboard.next(); System.out.println( " Your age: " ); age = keyboard.nextInt(); if ( age >= 16 ) { System.out.println( " " + name + "! Did you know you cannot drive legally? " ); } else if ( age >= 16 && age < 18 ) { System.out.println( " " + name + "! You can drive but you cannot vote! " ); } else if ( age >= 18 && age < 24 ) { System.out.println( " " + name + "! You can vote, but you cannot rent a car!" ); } else if ( age >= 25 ); { System.out.println( " You can pretty much do anything! " ); } } }