Question: IN C++ File I/O In this exercise you are going to read a file containing text. You will capitalize all the vowels in the text
IN C++

File I/O In this exercise you are going to read a file containing text. You will capitalize all the vowels in the text and save it as a new file: output.txt. Sample input file would contain: This is a text. Input is: string1.txt Your output in output.txt should contain: ThIs Is A strIng. Some hints: Read each line from the file into a string Scan through the string and replace lowercase vowels with uppercase ones (use if-else or switch statement)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
