Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

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 the family!" where is the first family in the list (if the list is empty just print "Bye Bye"). (1 point)

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

Step: 3

blur-text-image

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

Theoretical Assumptions in Professional Medical Communications

Answered: 1 week ago

Question

Problem: Evaluate the integral: I - -[ze dx

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = 1- 1 dx 9

Answered: 1 week ago

Question

Describe the Indian constitution and political system.

Answered: 1 week ago