Used a while statement to determine if the output file (which is blank and will fill in the output from the calculations done from reading the input file which has data) was readable, but it's saying an error. The input file works because the program prompts user for the output file, but if I take out the exit 0; from the output while, it will compute really quickly and exit out. What am I doing wrong?