For the second part of my assignment, I have to write some data to a file, but I can't find notes anywhere in my textbook or class notes that explain how to do something like this:
"The second output requirement for this program is to save class roster in a data file. It needs to include only students names and final scores. The format should look like:
Terri Smith 70
Mary White 90
Pete William 80
Harry Lia 100
Amy Peterson 60
Don't forget to close the file at the end!"
Ideas?