Develop a Student Information System. The system need to implement the insertNode(), deleteNode() and displayList() functions. The insertNode() function is used to insert a new node of student record to the linked list. Assume that the input id is always unique, thus the linked list shall contain the student records with their respective id numbers are in ascending order. The displayList() function is used to display the list after inserting new node and/or after deleting a node. Please refer to the given structure definition shown in Figure 1 Your system interface should consider a few element such as user friendly, attractive and appropriate word. You may add more suitable data in the structure but limited to not more than 3. The deleteNode() function is used to remove a record of the targeted id from the linked list. The deleteNode() function shall return the target id if the record to be deleted exists, otherwise return o. struct student{ int id; char name[20]; double cpa; struct student *nextPtr3B }3;

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
Clanguage
Program :
Develop a Student Information System. The system need to implement the
insertNode(), deleteNode() and displayList() functions. The insertNode() function is
used to insert a new node of student record to the linked list. Assume that the input
id is always unique, thus the linked list shall contain the student records with their
respective id numbers are in ascending order. The displayList() function is used to
display the list after inserting new node and/or after deleting a node. Please refer to
the given structure definition shown in Figure 1
Your system interface should consider a few
element such as user friendly, attractive and appropriate word. You may add more
suitable data in the structure but limited to not more than 3.
The deleteNode() function is used to remove a record of the targeted id from the
linked list. The deleteNode() function shall return the target id if the record
to be deleted exists, otherwise return o.
struct student{
int id;
char name[20];
double cpa;
struct student *nextPtr;
}3;
Figure 1
Transcribed Image Text:Clanguage Program : Develop a Student Information System. The system need to implement the insertNode(), deleteNode() and displayList() functions. The insertNode() function is used to insert a new node of student record to the linked list. Assume that the input id is always unique, thus the linked list shall contain the student records with their respective id numbers are in ascending order. The displayList() function is used to display the list after inserting new node and/or after deleting a node. Please refer to the given structure definition shown in Figure 1 Your system interface should consider a few element such as user friendly, attractive and appropriate word. You may add more suitable data in the structure but limited to not more than 3. The deleteNode() function is used to remove a record of the targeted id from the linked list. The deleteNode() function shall return the target id if the record to be deleted exists, otherwise return o. struct student{ int id; char name[20]; double cpa; struct student *nextPtr; }3; Figure 1
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Parallel and Distributed Storage
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning