Question: Goal: Write a program that will make use of your knowledge of pointers to build a sorted linked list. The program should include the following:

Goal: Write a program that will make use of your knowledge of pointers to build a sorted linked list. The program should include the following: 1. 2. Create a struct with the following items: name (string), score (int) and grade (char). Create a node and fill it by doing the following: a. read names from in.dat data file (attached) b. Generate a score for each node from 0 to 100. This field of the struct should be randomly generated by using the rand function. Assign a grade to each node as the following: 0-59: F; 60-69: D; 70-79: C; 80-89: B and 90-100: A. c. 3. Build a linked list of the nodes according to ascending order of score. 4. Print the listing of students/score/grade to the screen in row/column format. There should be proper t so that reader can tell what each column representing for Program Specifications The program you develop must have the following characteristics: It must create the class definition provided with this assignment . It must make used of linked lists based on the assignment specification . It must declare any additional necessary variables required in the program It must be commented adequately o Label the class members o Label each function call o Before each function, give a brief description of what the function will do
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
