$30
Assignment #1
Programming Exercise 12 on page 393
Important note: the file containing the class names and grades must be
passed as a command line argument to your program in a manner
similar to the example shown in lab.
Sample run:
File contains course name and grade earned
$ more coursesTaken.txt
Computer Science II A
Physics 201 B
Mathematics 100 A
Sample run:
$ java gpa coursesTaken.txt
Computer Science II A
Physics 201 B
Mathematics 100 A
GPA: 3.67
Note:
All courses are considered to be worth the same
number of units.