// Student.java // Author: Chris Wilcox // Date: 4/20/2015 // Class: CS160 // Email: wilcox@cs.colostate.edu import java.io.File; import java.io.IOException; import java.util.Scanner; public class Student { // Instance data private String firstName; private String lastName; private String sID; private String eID; private Course[] courses = null; // Getters public String getFirstName() { return this.firstName; } public String getLastName() { return this.lastName; } public String getSID() { return this.sID; } public String getEID() { return this.eID; } // Student code public void readTranscript(String filename) { try { // Student code here } catch (IOException e) { System.out.println("Cannot read " + filename); System.exit(0); } } public void writeTranscript() { System.out.println("Name: " + firstName + " " + lastName); // Student code here } public double gradePointAverage() { double gpa = 0.0; double hours = 0.0; // Student code here gpa /= hours; return gpa; } // Main method public static void main (String[] args) { Student s = new Student(); s.readTranscript(args[0]); s.writeTranscript(); } }