Question: This is the problem: https://www.chegg.com/homework-help/questions-and-answers/write-program-prompts-user-first-name-middle-name-last-name-name-string-saved-character-ar-q31745732 And his C++ code doesn't work on VisualStudio (error while compiling). - I can use void function, cstring (strcpy, strcat...)
This is the problem:
https://www.chegg.com/homework-help/questions-and-answers/write-program-prompts-user-first-name-middle-name-last-name-name-string-saved-character-ar-q31745732
And his C++ code doesn't work on VisualStudio (error while compiling).
- I can use void function, cstring (strcpy, strcat...)
- Also I have no idea what printf and scanf are, use cin and cout please
This is the output I am looking for:

Thank you
Please enter your first name: My Do you have a middle name? (Y/N): y Please enter your middle name: Programming Please enter your last name: Notes Your ful1 name is My Programming Notes The total number of characters in your name is: 18 Please enter your first name: Programming Do you have a middle name? (Y/N): N Please enter your last name: Notes Your ful1 name is Programming Notes The total number of characters in your name is: 16 Please enter your first name: Notes Do you have a middle name? (Y/N): y please enter your middle name: Notes Please enter your last name: Notes Your full name is Notes Notes Notes The total number of characters in your name is: 15 Your first and middle name are the same Your middle and last name are the same Your first and last name are the same Please enter your first name: My Do you have a middle name? (Y/N): N Please enter your last name: My Your ful1 name is My My The total number of characters in your name is: 4 Your first and last name are the same
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
