Question: In C++, using Write a program that reads the following poem from a file I am Sam Sam I am That Sam I am That

In C++, using
Write a program that reads the following "poem" from a file I am Sam Sam I am That Sam I am That Sam I am I do not like that Sam I am Do you like green eggs and ham ? I do not like them I do like spam Your program should produce three output files: (i) one with the whole text in lowercase, (ii) one with the file in uppercase and (iii) another one with statistics about the text. The latter should present the number of characters in the whole text, the longest verse, and the number of lines in the original file. The input/output files can be hardcoded if you want. The content of all files should also be presented on screen. Provide a screenshot of all files: input, outputl, ouput2, ouput3 and the screen output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
