Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

C++ image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions