Question: Question 0 5 ( 3 points ) Write a main function that removes all the occurrences of a specified string from a text file. Your
Question points
Write a main function that removes all the occurrences of a specified string from a text file. Your program should prompt the user to enter a filename and a string to be removed.
Here is a sample run:
Enter a filename: testFile.txt
Enter a string to be removed: to
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
