Computer Science Canada checking input |
Author: | junkpro11 [ Thu May 13, 2004 10:51 pm ] | ||
Post subject: | checking input | ||
when i type in the wrong one it comes out the first time it shows "incorrect input", but when i type a right input in it afterwards it still shows the "incorrect input". but if the first time i type in the right input it shows "correct"
|
Author: | zeldamaster1230 [ Fri May 14, 2004 7:49 am ] |
Post subject: | |
I believe that what your problem is is not re-declaring iguess each time you run through the loop. Therefore, what would happen is that iguess would keep increasing, and, after the first run-through, never reach your destination again. Hope that helps. |