College Assignment:
This assignment consists of writing a program with multiple classes and arraylists.
This program is similar in functionality with the Module 2 assignment
-
Create a Student class with
-
Private instance variables for first and last name, three integer scores, the average ,and letter grade
-
A constructor with values
-
Methods to set and get the values of the instance variables
-
Method to calculate the average of the three scores and to assign this value to the instance variable average
-
Method to determine the letter grade and to assign this value to the instance variable grade. Letter grade is based on the following criteria - average 90-100 grade is A, 80-89.99 grade is B, 70-79.99 grade is C, all others F (use a nested if)
-
Methods to get the average and letter grade
-
Method to format and print the name, scores, average ( to two decimal places), and letter grade. (using printf() method)
-
Create a StudentMod3 class
-
Declare an arraylist of objects of type Student
-
Read the first and last name, and three scores, of three students into elements of the arraylist
-
Determine the average and letter grade of the three students.
-
Output the name, scores, average, and letter grade of the three people
Please submit well documented and easily readable java files. I recommend you work with NetBeans or any other IDE to develop these programs.
Not looking for the answer/solution to this assignment, but would like some help understanding Arraylists