Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

computer science: c++ (QT) Hw

Functions, part 2

Write a program that will ask a user for their entire name (first, middle, and last)  as a single input. Then write a function that will separate the input into the first, middle, and last names with the first letter of the first and last names capitalized and the remaining letters in lower case. The middle name will be converted to a middle initial only, followed by a period, and in upper case.

Example: If the input wast John Roe Doe, the output would be DOE, John R.

However if the input is John Doe, then the output would be DOE, John

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question