Question: In C++ write a program that: Declares a variable suitable for holding a persons name Prompts the user to enter a persons name with the

In C++ write a program that:

Declares a variable suitable for holding a persons name

Prompts the user to enter a persons name with the text Enter name:

Reads the user's input and stores it in the variable created in step 1

Outputs the following information about the name they entered a. The number of characters in the name b. The first name c. The last name Your output should look like the examples below. **Note: Your code should account for the fact that the user might enter a middle name or initial.

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!