Question: Please help me to complete this java code: import java.util.Scanner; / / will allow you to read from the screen public class GradesArray { public
Please help me to complete this java code:import java.util.Scanner; will allow you to read from the screen
public class GradesArray
public static void main Stringargs
String nameArray Jon "Rajesh", "Elizabeth", "Julio", "Chang";
String gradeArray new String
double scoreArray ;
double scoreArray ;
double scoreArray ;
double averageArray new double;
forint i; i; iwhy
averageArrayiscoreArrayi scoreArrayi scoreArrayi;
if averageArrayi
gradeArrayiA;
else if averageArrayi
gradeArrayiB;
else if averageArrayi
gradeArrayiC;
else if averageArrayi
gradeArrayiD;
else
gradeArrayiF;
System.out.printlnName is: nameArrayi Grade is: gradeArrayi Average is: nameArrayi;
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
