Write a program which asks you uo enter a name in the form


Please write the code in understandable C++ Language.

I am not very familiar with string, getline and substrings that kind of stuff, so I am looking for a solution to my homework so I can understand the subject better. Thank you!

Here is the question:

Write a program which asks you uo enter a name in the form of first middle initial last. So you might enter for example samuel p. clemens.

Use getline to read in the string because it contains spaces. Also, apparently the shift key on your keyboard doesn't work, because you enter it all lower case.

Pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase.

The revised string should then be returned to main in the form Last, First MI where it will be displayed.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program which asks you uo enter a name in the form
Reference No:- TGS02894750

Expected delivery within 24 Hours