Question: Write a C++ function named modify() that modifies an existing structure in a list of structures consisting of names and phone numbers. The argument passed

 Write a C++ function named modify() that modifies an existing structure

in a list of structures consisting of names and phone numbers. The

Write a C++ function named modify() that modifies an existing structure in a list of structures consisting of names and phone numbers. The argument passed to modify() should be the address of the structure to be modified. The modify() function should display the existing name and phone number in the selected structure, request a new name and phone number, and then display the final structure. Assume the following definition has been made: union { double rate; double taxes; int num; } flag; For this union, write cout statements to display the members of the union

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 Databases Questions!