Question: Create a flowchart with the following shapes for the below Java program. import java.util.Scanner; public class Exercise 0 7 _ 0 1 { public static
Create a flowchart with the following shapes for the below Java program.
import java.util.Scanner;
public class Exercise
public static void mainString args
Scanner scanner new ScannerSystemin;
int numberOfStudents;
int scores;
int bestScore Integer.MINVALUE;
System.out.printEnter the number of students: ;
numberOfStudents scanner.nextInt;
scores new intnumberOfStudents;
System.out.printEnter numberOfStudents scores: ;
for int i ; i numberOfStudents; i
scoresi scanner.nextInt;
if scoresi bestScore
bestScore scoresi;
System.out.printlnGrades:;
for int i ; i numberOfStudents; i
char grade;
if scoresi bestScore
grade A;
else if scoresi bestScore
grade B;
else if scoresi bestScore
grade C;
else if scoresi bestScore
grade D;
else
grade F;
System.out.printlnStudent i score is scoresi and grade is grade;
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
