It looks like the console window only keeps track of the last 100 lines or so. That is why the solutions with zero quarters (which did initially print) run off the page and cannot be located by scrolling back on the console window. You can get around this issue by setting the option for "Infinite Buffering" to be ON when the console window appears after the first time you run the program.
No comments:
Post a Comment