Assignment #23 and More User Imput Of Data

Code

                        /// Name: Graham Pollock
                        /// Period: 5
                        /// Program Name: Imput of Data
                        /// File Name: ImputOfData.java
                        /// Date Finished: 9/29/2015
        
        import java.util.Scanner;
         
         public class ImputOfData
         {
             public static void main( String[] args )
             {
                 String first, last, login;
                 int grade, id;
                 double gpa;
         
                 Scanner keyboard = new Scanner(System.in);
         
                 System.out.print( "First name: " ); first = keyboard.next();
                 System.out.print( "Last name: " ); last = keyboard.next();
                 System.out.print( "Grade (9-12): " ); grade = keyboard.nextInt();
                 System.out.print( "Student ID: " ); id = keyboard.nextInt();
                 System.out.print( "Login: " ); login = keyboard.next();
                 System.out.print( "GPA (0-4.0): " ); gpa = keyboard.nextDouble();
                 System.out.println( " ");
                 System.out.println( " ");
                    System.out.print( "Your Information: ");
                              System.out.println( " ");
                        System.out.println( "       Login: " + login);
                        System.out.println( "       Student ID" + id);
                        System.out.println( "       Name: " + last + ", " + first);
                        System.out.println( "       GPA: " + gpa );
                        System.out.println( "       Grade: " + grade);
                    
                 
    
             }
         }
    

Picture of the output

Assignment 21