Question: 5. Correct all the errors in the following method: re-write the correct method. public void printGreater(double marks, double mean) for(index=0: index mean) System.out.println(marks[index])

5. Correct all the errors in the following method: re-write the correct method. public void printGreater(double marks, double mean) for(index=0: index mean) System.out.println(marks[index])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
