Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help for this c++ code assignment Define a class named Family in a header file named: family.h (5 points) This file acts as
I need help for this c++ code assignment
Define a class named Family in a header file named: family.h (5 points) This file acts as a prototype 1. 2. Create the implementation file family.cpp (15 points total) a. The class will have the following members 1. 2. Family name (5 points) Parent (array of 2) (5 points) a. b. c. First Name Last Name Age (you must validate the age is the proper data type. You can use the code from Lab 4) 3. Children (array of 10) (5 points) a. b. c. First Name Last Name Age (you must validate the age is the proper data type. You can use the code from Lab 4) The class will be able to add parents or children The class will be able to return information on parents and children. b. c. 3. Create the program Lab05b.cpp which uses the class Family to Implement the following a. The program will allow the user to (14 points total) 1. Add families a. b. With one or two parents (3 points) With zero or more children (3 points) 2. Delete Families search by last name (should use the same search function from item 3 below. (1 point) Display Families searching by last name (2 points) Display a list of all families (5 points) 3. 4. 4. On exit print the following text to the screen; "So long from theStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started