Write a program to perform SEARCH and REPLACE operation on a text file. For this, input the name of a text file from the user. Then input two characters and search for the first character in the file and replace it with the second character. Do it for all the occurances of the first character in the text file. (Use a temporary file for this purpose)
The answer to the question is available in the PDF file https://assignmentexpert.com/https://assignmentexpert.com/homework-answers/programming-answer-38289.pdf
Comments
Leave a comment