Question: Please help with this in C++. Thanks! - string contactName - string contactPhoneNumber - ContactNode* nextNodePtr - Constructor with parameters for name followed by phone
Please help with this in C++. Thanks!

- string contactName - string contactPhoneNumber - ContactNode* nextNodePtr - Constructor with parameters for name followed by phone number ( 1 pt) - Public member functions - GetName( - Accessor ( 1pt ) - GetPhoneNumber( ) -Accessor (1 pt) - InsertAfter0 ( 2 pts) - GetNext0 - Accessor (1 pt) - PrintContactNode0 Ex: If the name is Roxanne Hughes and the phone number is 443-555-2864, PrintContactNode() outputs: Name: Roxanne Hughes Phone number: 4435552864 (2) Define main() to read the name and phone number for three contacts and output each contact. Create three ContactNodes and use the nodes to build a linked list. ( 2 pts) Ex- If the input is: RoxanneHughes4435552864JuanAlbertoJr.4105559385RachelPhil1ips3105556610 the output is: Person 1: Roxanne Hughes, 443-555-2864 Person 2: Juan Alberto Jr., 4105559385 Person 3: Rachel Philips, 3105556610 (3) Output the linked list using a loop to output contacts one at a time ( 2pts) Ex: CONTACT IIIST Name: Roxanne Hughes Phone number: 4435552864 Name: Juan Alberto Jr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
