Question: In C++ please Write a function that gets passed a string name that contains a first name space last name. The function will covert the

In C++ please In C++ please Write a function that gets passed a string name

Write a function that gets passed a string name that contains a first name space last name. The function will covert the name to last name, first name and return the new string. For example: If the function is sent George Smith, the function would return Smith, George. If the function is sent Mary Washington, it would return Washington, Mary

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!