Assignemnt #37 and HowOldAreYa

Code

    ///Name: Joshua Bautista
    ///Period: 6
    ///Project Name: How Old Are you
    ///File Name: HowOldAreYa.java
    ///Date: 12/18/2015
    
    import java.util.Scanner;

public class HowOldAreYa
{
    public static void main ( String[] args )
    {
            Scanner keyboard = new Scanner(System.in);
        
    String name;
     int age;
      
       
        
        System.out.print("Hello Human, What Is Your Name?"); 
        name = keyboard.next();
        System.out.print("Please input your age " + name );
        age = keyboard.nextInt();
        
        if ( age < 16 )
        {
            System.out.print("You can not drive");
        }
        if ( age >= 16 && age <= 17  )
         {
            System.out.print("You cant drive, but can not vote.");
        }
         if ( age >= 18 && age <= 24)
        {
            System.out.print(" You can vote, but not rent a car.");
        }
       if (age > 25)
       {
        System.out.print(" You can do pretty much anything .");
        }
        
        System.out.println(" Thank you, have a nice day ");
    }
}
      

Picture of the output

Assignment 37