Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>1
- Input name: a
- Input reg. Number: 1
- Input age: 12
- Input branch: a
- Input phone number: 123
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>1
- Input name: b
- Input reg. Number: 2
- Input age: 20
- Input branch: b
- Input phone number: 1234
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>1
- Input name: c
- Input reg. Number: 3
- Input age: 25
- Input branch: c
- Input phone number: 12345
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>4
- Student details:
- --------------------------------
- Name: a
- Reg. number: 1
- Age: 12
- Branch: a
- Phone Number: 123
- --------------------------------
- Name: b
- Reg. number: 2
- Age: 20
- Branch: b
- Phone Number: 1234
- --------------------------------
- Name: c
- Reg. number: 3
- Age: 25
- Branch: c
- Phone Number: 12345
- --------------------------------
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>2
- Students whose age is not more than 20 and their branch:
- --------------------------------
- Name: a
- Age: 12
- Branch: a
- ----------------------------------------------------------------
- Name: b
- Age: 20
- Branch: b
- --------------------------------
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>3
- Deleting Students whose age is greater than 24
- Student details:
- --------------------------------
- Name: a
- Reg. number: 1
- Age: 12
- Branch: a
- Phone Number: 123
- --------------------------------
- Name: b
- Reg. number: 2
- Age: 20
- Branch: b
- Phone Number: 1234
- --------------------------------
- Name: c
- Reg. number: 3
- Age: 25
- Branch: c
- Phone Number: 12345
- --------------------------------
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>4
- Student details:
- --------------------------------
- Name: a
- Reg. number: 1
- Age: 12
- Branch: a
- Phone Number: 123
- --------------------------------
- Name: b
- Reg. number: 2
- Age: 20
- Branch: b
- Phone Number: 1234
- --------------------------------
- Name: c
- Reg. number: 3
- Age: 25
- Branch: c
- Phone Number: 12345
- --------------------------------
- MENU
- 1. Insert element into list
- 2. Search for those students whose age not more than 20 and their branch of study
- 3. Deletion those student whose age is more than 24 and display the content of the linked list
- 4. Display current list
- 5: Exit
- >>5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement