Search for question
Question

(10 points) Write a program to read a text file named "temp.txt" and write only the first 5 lines of this file to a new file "five_lines.txt" after replacing all

t' with's' from the text.

Fig: 1