Question: Write the InputMembers ( ) function in the Appointments class. Within InputMembers ( ) , use cin to read each entry number until - 9

Write the InputMembers() function in the Appointments class. Within InputMembers(), use cin to read each entry number until -99 is read from input. If the entry number is not equal to -99, use the Member object's ReadDetails() function to read the member's name and age from input and append the Member object to vector memberList.
Ex: If the input is:
1 Bob 852 Taj 803 Del 60-99
then the output is:
Member: Bob, Age: 85 Member: Taj, Age: 80 Member: Del, Age: 60
C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!