Question: Write a C + + program that takes a string containing a full name and outputs each part of the anme separately. The name should
Write a C program that takes a string containing a full name and outputs each part of the anme separately. The name should be in the form of first, middle, and last name, separated from each other by a single space. For example, if the string contains, "John Jacob Schmidt" then the program would output:
First name: John
Middle name: Jacob
Last Name: Schmidt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
