I wrote this program and while it does everything it should, but I am not sure if it is correct. I need the program to take all the even numbers and write to a .dat file. Then I need to close the...