Computer Science Canada

Case statements.

Author:  ac [ Sun Jun 06, 2010 6:43 pm ]
Post subject:  Case statements.

What is it you are trying to achieve?
Hi! Very Happy
I need help with a program I have to create in turing. I attached a similar program to the one I have to create.
Please help! Thank you!


What is the problem you are having?
Everytime I run the program, an error occurs on label 2 of the case statement. Please help Thanks!

Author:  TheGuardian001 [ Sun Jun 06, 2010 6:57 pm ]
Post subject:  Re: Case statements.

You didn't end a couple of loops and ifs from label 1.

press F2 to auto-indent your code, it'll make it more obvious where the loops/ifs should end.


: