Question: Using the provided Java code, please help me create the pseudocode, flowchart ( preferred hand - drawn ) , functional requirements, and test plan /
Using the provided Java code, please help me create the pseudocode, flowchart preferred handdrawn functional requirements, and test planTest Case Matrix for both projects. In the flowchart, please include multiple charts if there is more than one method.
import java.util.Scanner;
public class Exercise
Main method
public static void mainString args
Scanner input new ScannerSystemin;
Prompt the user to enter the total number of students
System.out.printEnter the number of students: ;
int scores new intinputnextInt;
char grades new charscoreslength;
Prompt the user to enter all the scores
System.out.printEnter scores.length scores: ;
for int i ; i scores.length; i
scoresi input.nextInt;
Get grades
getGradesscores grades;
Display results
for int i ; i scores.length; i
System.out.printlnStudent i score is
scoresi and grade is gradesi;
Method max returns the highest score
public static int maxint array
int max array;
for int i ; i array.length; i
if arrayi max
max arrayi;
return max;
Method getGrade assigns grades based on grading scheme
public static void getGradesint scores, char grades
int best maxscores;
for int i ; i scores.length; i
if scoresi best
gradesiA;
else if scoresi best
gradesiB;
else if scoresi best
gradesiC;
else if scoresi best
gradesiD;
else
gradesiF;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
