posted 18 years ago
Theres my code for this problem. I have it get its input from input.txt (and yes, I've tried using the full path to the file). The contents of the file are:
5
2
7
Just those 3 numbers, each on a different line. When I run the program however, it comes up with the numbers 53, 13, 10, and 50. Writing the output to another file works fine, based on the data the program got.
So, my question is, where the hell are those 4 numbers coming from and why aren't my 3 numbers getting fed in?
[ October 11, 2006: Message edited by: Joe Ess ]
[ October 11, 2006: Message edited by: Joe Ess ]