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