
-----------------------------------
evogre3n
Sun Oct 30, 2005 12:15 pm

Error trapping without loops
-----------------------------------
Hey all,

I have a simple if structure assignment to prove I know how to use it properly etc.

THe problem is im not allowed to use any kind of loop for error trapping.

And if I have 4 inputs lets say.. 

Input 1 --> correct
Input 2 --> correct
Input 3 --> WRONG try again
Input 4 --> null

If i enter the wrong input at the 3rd input, I dont want it to go back to the very first input and ask it again (so calling the method in the if structure is out of the question)

Any help on this?

Thanks a lot!

-----------------------------------
wtd
Sun Oct 30, 2005 12:29 pm


-----------------------------------
Recursion with two methods?

[Step 1]
   |
   |
   |
   |
   |
   V
[Step 2]