Question: Write a void function called OnlyUppercase IN C++ that has only two parameters, a reference to a istringstream and a reference to an ostring stream.
Write a void function called "OnlyUppercase" IN C++ that has only two parameters, a reference to a istringstream and a reference to an ostring stream. This function should read whitespace separated words from the first argument and write those words (each with a trailing newline character) to the second argument. However, only the words that are composed solely of UPPERCASE letters should be written to the second argument
Example input and output:
.
INPUT OF THE TEST CASE #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
