Question: This is the problem, and output that I expected. And someone did C++ code for me. https://www.chegg.com/homework-help/questions-and-answers/c-question-ve-already-posted-question-twice-never-follow-direction-question-bold-text-impo-q31756975 ----------------------------------------------------------------------------------------------------------------------------------------- It works if I choose the option
This is the problem, and output that I expected. And someone did C++ code for me.
https://www.chegg.com/homework-help/questions-and-answers/c-question-ve-already-posted-question-twice-never-follow-direction-question-bold-text-impo-q31756975
-----------------------------------------------------------------------------------------------------------------------------------------
It works if I choose the option "n" for the middle name
But when I choose the option "y" for the middle name, the output looks weird "" sign.
I want to get rid of signs and William after it. It should show "Lee, Dean William" only
Do you think it has an error because I put system("PAUSE"); before return 0;?

C\UsersDeanWilliamLee source repos\H8\Debug\H8.exe Please enter your first name: Dean Do you have a middle name? (Y/N): y Please enter your middle name: William Please enter your last name: Lee Your full name is : Lee, Dean Williamwiliam The total number of characters in your name is: 14 Press any key to continue . . . _ C\UsersDeanWilliamLee source repos\H8\Debug\H8.exe Please enter your first name: Dean Do you have a middle name? (Y/N): y Please enter your middle name: William Please enter your last name: Lee Your full name is : Lee, Dean Williamwiliam The total number of characters in your name is: 14 Press any key to continue . . . _
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
