Hello Tim,
I apologize for my initial post.. it was late at night and it was driving me crazy ( new at programming crazy)
Here is the code with a try catch block:
the above adding of while (number>12) doesn't work. It does freeze up the program when >12 is entered.
I have looked online for the solution, as a understand it can work with a if statement, but i couldn't make this function either.
Hopefully someone here has a answer.
If someone does, and has the time, I would also like to know how a try catch work with a for loop.
thanks for any help in advance,
Stefan.