Assignemnt #23 and MoreData

Code

    ///Name: Joshua Bautista
    ///Period: 6
    ///Project Name: MoreData
    ///File Name: MoreData.java
    ///Date: 10/19/2015
    
    import java.util.Scanner;

public class MoreData
{
    public static void main( String[] args )
    {
    String firstName, lastName, loginNameNumber;
    int grade, studentId ;
    double gpa;
    
    Scanner keyboard = new Scanner(System.in);
    
    System.out.print( "First Name:" );
    firstName = keyboard.next();
    System.out.print( "Last Name:" );
    lastName = keyboard.next();
    System.out.print( "Grade (9-12):" );
    grade = keyboard.nextInt(); 
    System.out.print( "Student Id:" );
    studentId = keyboard.nextInt();
    System.out.print( "Login:" );
    loginNameNumber = keyboard.next();
    System.out.print( "GPA (0.0-4.0):" );
    gpa = keyboard.nextDouble();
    System.out.println( "                 ");
    System.out.println( "                 ");
    
    System.out.println( "Your Information:" );
    System.out.println( " Login:" + loginNameNumber );
    System.out.println( "ID: " + studentId );
    System.out.println( "Name: " + lastName + ", " + firstName );
    System.out.println( "GPA: " + gpa  );
    System.out.println( "Grade: " + grade  );
    }
}
    

Picture of the output

Assignment 1