You are required to implement basic social media portal where user can create his profile. You can provide user the options to create new profile, update profile and delete profile as well. Create class Profile having necessary information of user ( ID, Name, gender, age, email, interest, Date of birth) provide appropriate methods. Next create class Portal which uses Node of Profile Class to handle profiles. Next provide methods to:
1) InsertProfile (ID, Name, gender, age, email, interest, Date of birth)// adds new profile to the list.
2) UpdateProfile (int id) which helps user update his profile information)
3) DeleteProfile(string name) delete a particular profile form list
4) searchProfile(string name)
5) Display ()// display all values.
In main create a menu to show following options to user
1) Add new Profile
2) Update Profile ( which helps user update his profile information)
3) Delete a Profile
4) Search Profile
5) Display All
6) Exit.
The program runs until user wants to exit.
Comments
Leave a comment