I have a file, file.txt. I must read data from this file, make some calculations, and then output that data into new.txt.
file.txt
new.txt