3.Add a student as a friend of a student (by student ID). You should ask two IDs as input from the user, ID1 and ID2, and then add student with ID2 as the friend of the student with ID1. Before adding friend please check whether ID2 exists in the database.
4.Delete a student as a friend of a student (by student ID). You should ask two IDs as input from the user, ID1 and ID2, and then delete student with ID2 from the friends of the student of ID1.
5.Delete all the friends of a particular student (by student ID).
6.Delete all the students from the list. This includes deleting all the friends of each student as well.
7.Print all the students in the list. This should print all the friends of each student as well.
8.Print all the friends of a particular student (by student ID).
9.Print the list of most popular students. It means all the students who have maximum friends.
I really NEED your help
* I kindly ask you not to write any function that's not mentioned above, i mean don't add new functions ..
Thank you ,
Comments
Leave a comment