Skip to content

Instantly share code, notes, and snippets.

@applegateaustin
Created October 12, 2012 02:29
Show Gist options
  • Save applegateaustin/3876999 to your computer and use it in GitHub Desktop.
Save applegateaustin/3876999 to your computer and use it in GitHub Desktop.
KUStudent
import java.util.Scanner;
public class KUStudentTest {
public static void main(String[] args){
Scanner keyboard = new Scanner(System.in);
KUStudent name = new KUStudent();
KUStudent info = new KUStudent();
System.out.println("Please input the student's name (firstname lastname):");
String fname = keyboard.next();
String lname = keyboard.next();
System.out.println("Please input the student's KUID and department");
String kuid = keyboard.next();
String dpt = keyboard.next();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment