Create a JAVA simply programs that manages scores following a 2-dimensional array, students can be identified with rows, scores indefity with the columns. Ask user to input number of science students for the #of tests (size of 2-D array. Array must get populated with user input (numbers for scores ranging from 0-100). Note that >= 60 equals a passing grade. Next, 2 methods 1. Calculate # of tests passed by each student 2.Calculate # of students passed for each test Note that the Method will accept the two-D array as 1 argument & specific student # (for(a)) or a specific test # (for(b)) as next argument. Methods return the counts if correct. Next you will Call the above methods (from main) by passing 2-D array with the scores, for each student (for(a)) and each test (for (b)). Print all counts.
Create a JAVA simply programs that manages scores following a 2-dimensional array, students can be identified with rows, scores indefity with the columns. Ask user to input number of science students for the #of tests (size of 2-D array. Array must get populated with user input (numbers for scores ranging from 0-100). Note that >= 60 equals a passing grade.
Next, 2 methods
1. Calculate # of tests passed by each student
2.Calculate # of students passed for each test
Note that the Method will accept the two-D array as 1 argument & specific student # (for(a)) or a specific test # (for(b)) as next argument. Methods return the counts if correct.
Next you will Call the above methods (from main) by passing 2-D array with the scores, for each student (for(a)) and each test (for (b)). Print all counts.
I have implemented the requirements as per specification. The code for the above is:
Step by step
Solved in 2 steps with 1 images