Hello to all, I missed a class for the array section at uni and have been sick couldnt really jump back into it. Could you guys help me solving this? :)
Write a Java application that does the following:
1. Reads an integer from the user represents the number of the students in a class.
2. Reads the scores of the students from the user and store them in an array.
3. Calculates and prints the percentage of the excellent students in the class rounded
to 1 decimal place.
Hints:
The scores of the students are integers between 0 and 100 (inclusive).
The student considered to be Excellent if his/her score is greater than or equal to 90.
Sample Input:
Enter the number of the students in the class: 5
Enter the score of student no. 1: 70
Enter the score of student no. 2: 95
Enter the score of student no. 3: 60
Enter the score of student no. 4: 89
Enter the score of student no. 5: 90
Sample Output:
The percentage of the excellent students in the class is: 40.0%.
b. Give the exact output of your application. Provide 2 snapshots representing the exact
output of 2 different inputs.