Question: Requirement: Complete the functions provided in the attached template to accomplish the following tasks: 1 . Read student data from DATA . IN . Store

Requirement: Complete the functions provided in the attached template to accomplish the
following tasks:
1. Read student data from DATA.IN. Store each students data as a node in a linked list.
There are 2 linked lists. The first list consists of the data of students on line 2. The
second list consists of the data of students on line 3.
2. Merge two linked lists into a single list (third list).
3. Filter the third list based on GPA criteria.
a. If C is "LT", filter the students with a GPA less than D.
b. If C is "GT", filter the students with a GPA greater than D.
4. Reverse the third list.
5. Print each linked list to stdout, where each node is represented as (MM/DD/YYYY,A.BC)
separated by space ('') and print each linked list on one line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!