Write the following in netbeans IDE 81 Sort students on grad

Write the following in netbeans IDE 8.1

(Sort students on grades) Rewrite Listing 8.2, GradeExam.java, to display the students in increasing order of the number of correct answers

Solution

For this increasing order of number of correcting orders we have to store each student correct answer count in array.

After get the cout of correct answers of every student we have to sort the array in increasing order

For this stroing ecah student count code as follows.

after printing correctcount correctanswers[i]=correctCount;

then we have to sort the array as foloows.

for displaying code as follows;

Write the following in netbeans IDE 8.1 (Sort students on grades) Rewrite Listing 8.2, GradeExam.java, to display the students in increasing order of the number

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site