Given a string which is basically a sentence without spaces between words. However, the first letter of every word is in uppercase. You need to print this sentence after the following amendments: (i)...


Given a string which is basically a sentence without spaces between words. However, the first letter of every word is in<br>uppercase. You need to print this sentence after the following amendments:<br>(i) Put a single space between these words<br>(ii) Convert the uppercase letters to lowercase.<br>Note: The first character of the string can be both uppercase/lowercase.<br>Write a C++ function that takes a string and then performs the mentioned amendments and returns a string.<br>

Extracted text: Given a string which is basically a sentence without spaces between words. However, the first letter of every word is in uppercase. You need to print this sentence after the following amendments: (i) Put a single space between these words (ii) Convert the uppercase letters to lowercase. Note: The first character of the string can be both uppercase/lowercase. Write a C++ function that takes a string and then performs the mentioned amendments and returns a string.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here