Assignment 37

 import java.util.Scanner;
 
 public class HowOldAreYouSpecifically
 {
     public static void main( String[] args )
     {
         Scanner keyboard = new Scanner(System.in);
 
         int age;
 
         System.out.print( "How old are you? " );
         age = keyboard.nextInt();
 
         if ( age < 16 )
         {
             System.out.println( "You can't drive." );
         }
         else if ( age < 18 )
         {
             System.out.println( "You can drive but not vote." );
         }
        
         else if ( age < 25 )
         {
             System.out.println( "You can vote but not rent a car." );
             
         }
         
         else
         {
             System.out.println( "You can do pretty much anything.");
         }
     }
 }