Question: What will be the output if the input values are 5 , 1 0 , 2 , 1 0 , and 5 ? public static
What will be the output if the input values are and
public static void mainString args
Scanner sc new ScannerSystemin;
double grade, avg, total ;
for int i ; i ; i
System.out.printEnter age i : ;
grade scnextDouble;
total grade;
System.out.printlnAverage age: total ;
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
