Question: 4.0 Given the text file UAH_sample.txt (Located on the Data Canvas Page) write a program that performs the following tasks: Count the number of words

4.0 Given the text file UAH_sample.txt (Located on the Data Canvas Page) write a 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!