-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathProblem2.java
More file actions
36 lines (29 loc) · 931 Bytes
/
Problem2.java
File metadata and controls
36 lines (29 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Problem 2
*
* Mr. Reed's wants an easy way to keep track of all of the students and their grades in his class, as well as a quick way to get their average grade for the year.
*
* Create the Student class so that we can have a Student object for everyone in the class, with functions that will return their name and Letter Grade
*
* Grading Rubric:
* 90 <= A <= 100
* 80 <= B < 90
* 70 <= C < 80
* 60 <= D < 70
* 0 <= F < 60
*/
public class Problem2 {
public static char[] problem2(String[] students, int[] test1, int[] test2, int[] test3) {
Student[] classroom = new Student[students.length];
// Create Student objects to fill in classroom array
/*
* FILL IN
*/
// Enter the letter grade for each student into the gpa array
char[] gpa = new char[students.length];
/*
* FILL IN
*/
return gpa;
}
}