Create a program read names followed by single test


Discuss the below:

Q: You are to write a program that will read names followed by single test grade. The very first line of the file has a single number which represents the max number of points to make on a test. The name is listed first followed by a grade or the points made on a test. Have your program read in the name and grade and print out the name and the percentage grade the student made on the test. ( grade/max=%). Print out the list of names and their grade in sorted order sorted by grade. Listed the grades from the highest to the lowest.
You are to use a link list for the data structure.

Example input
300
jones 289
luewey 266
Or-less 178

Example output (Sorted): (Example is not accurate)
Luewey 94
Jones 90
Or-less 83

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Create a program read names followed by single test
Reference No:- TGS01936734

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)