Question: 4.0 Given the text file UAH_sample.txt (Located on the Data Canvas Page) write a C++ program that performs the following tasks: Count the number of
4.0 Given the text file UAH_sample.txt (Located on the Data Canvas Page) write a C++ program that performs the following tasks:
Count the number of words in the file. (Ignore special characters like dash -) Print the result to the screen.
Replace each occurrence of UAH with UAHuntsville. Create a new file with the updated text.
Upload a single MS Word document containing the source code and screenshots showing the output. Also upload the txt files created by problems 1, 2 and 4. (These can be separate files)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
