Q #3. Apply concepts of Advanced Data Structures to implement a Students Book as a doubly linked list. Each node in the Student Book will contain 'Name', 'RegNumber', CGPA and ʼAge' of the student. Following operations can be performed on the Student Book. • Constructor to create and Destructor to destroy the Student Book • Add a Student if it is not already present in the Book. • Delete a Student from the Book. • Search a Student in the Student Book using Name or Reg. Number. If found display its details. If not found, display 'Student not found'. • Display the Student details in forward and reverse order • In main (), define an object of type StudentBook. Get details of 10 student from the user and add to the StudentBook. Ask the user, if the user wants to display, search or delete a student and perform the required actions, accordingly.

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 5PE
icon
Related questions
Question

write a c++ program attached below using the concept of doubly linked list

Q #3. Apply concepts of Advanced Data Structures to implement a Students Book as a
doubly linked list. Each node in the Student Book will contain 'Name', 'RegNumber,
'CGPA and 'Age' of the student. Following operations can be performed on the Student
Вook.
• Constructor to create and Destructor to destroy the Student Book
• Add a Student if it is not already present in the Book.
• Delete a Student from the Book.
• Search a Student in the Student Book using Name or Reg. Number. If found
display its details. If not found, display 'Student not found'.
• Display the Student details in forward and reverse order
• In main (), define an object of type StudentBook. Get details of 10 student from
the user and add to the StudentBook. Ask the user, if the user wants to display,
search or delete a student and perform the required actions, accordingly.
Transcribed Image Text:Q #3. Apply concepts of Advanced Data Structures to implement a Students Book as a doubly linked list. Each node in the Student Book will contain 'Name', 'RegNumber, 'CGPA and 'Age' of the student. Following operations can be performed on the Student Вook. • Constructor to create and Destructor to destroy the Student Book • Add a Student if it is not already present in the Book. • Delete a Student from the Book. • Search a Student in the Student Book using Name or Reg. Number. If found display its details. If not found, display 'Student not found'. • Display the Student details in forward and reverse order • In main (), define an object of type StudentBook. Get details of 10 student from the user and add to the StudentBook. Ask the user, if the user wants to display, search or delete a student and perform the required actions, accordingly.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Potential Method of Analysis
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