Question: C++ ESC 372 Computer Programming Assignment 1 Program Due Date: February 28, 11:59 pm Write a program to maintain a database of your friends. The
ESC 372 Computer Programming Assignment 1 Program Due Date: February 28, 11:59 pm Write a program to maintain a database of your friends. The data to be maintained on the friends consist of first name, last name, year of birth, month of birth and day of birth and sex. The data is to be stored in a linked list of struct and an object-oriented interface be provided to access the data and provide functionality. A menu driven interface is to be provided to maintain the database. The following features will be provided: 1. Add a friend 2. Delete a friend by last name 3. Print the names ages of all friends 4. Print information on a friend: name, age, day born (Monday, Tuesday...), season born 5. Print the oldest friend 6. Print the youngest friend 7. Print sorted list of friends 8. Print the average age of friends 9. Print the list of male friends Grading Rubric 1. Compute the ages of all friends 10 pts 2. Compute the day on which they were born 5 pts 3. Compute the season in which they were born 5 pts 4. Add a friend at the end of the array 5 pts 5. Delete a friend 10 pts 6. Print friend information 10 pts 7. Print the information on the oldest friend 10 pts 8. Print the average age of friends 10 pts 9. Print the list of male friends 10 pts 10. Proper use of comments 5 pts 11. Defensive programming 10 pts 12. Proper programming style 10 pts Comments The first comment in your program will contain: //Name //Assignment //Date Due //Course // Professor The second comment should describe the purpose of the program Every function will have a comment explaining the purpose of the function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
