At the moment I am writing a code to calculate the registration fee of different vehicles by reading from a file to input the information. This, I understand. However, I have to save the output to a separate file. I'm sure that I know this, but I'm blanking it while I'm trying to write my code. Any pointers?