Example java program using arrays and sort algorithms


Question:

Example Java program using arrays and sort algorithms

Write a program that allows the user to enter students' names followed by their test scores and output the following information(assume that the maximum number of students in the class is 50):

a. Class average

b. Names of all the students whose test scores are below the class average, with an appropriate message

c. Highest score and the names of all students have the highest score

example of the data.txt file format:

AAA 85

BBB 90

CCC 100

DDD 85

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Example java program using arrays and sort algorithms
Reference No:- TGS01936840

Now Priced at $20 (50% Discount)

Recommended (98%)

Rated (4.3/5)