Write a program that creates a linked list to represent details of students. • SID (for Student ID) • Name • Address • Age • Gender Your program must also display a menu to perform the following tasks: • Create a linked list. The method to create a linked list makes use of the method insertFirst() or insertLast() or insertOrdered() • Insert new nodes to the linked list. • Search for details pertaining to a particular student. • Delete details of a particular student. • Find number of nodes in the linked list. • Display information pertaining to all students. The menu options should be as follows: 1. Create linked list 2. Add new student 3. Search for a student 4. Delete a student 5. Find number of students 6. Print student details 7. Exit
Write a program that creates a linked list to represent details of students.
• SID (for Student ID)
• Name
• Address
• Age
• Gender
Your program must also display a menu to perform the following tasks:
• Create a linked list.
The method to create a linked list makes use of the method insertFirst() or insertLast() or insertOrdered()
• Insert new nodes to the linked list.
• Search for details pertaining to a particular student.
• Delete details of a particular student.
• Find number of nodes in the linked list.
• Display information pertaining to all students.
The menu options should be as follows:
1. Create linked list
2. Add new student
3. Search for a student
4. Delete a student
5. Find number of students
6. Print student details
7. Exit
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images