Computer Science Canada Program not continuing. |
Author: | TrainsAreTrains [ Sat Nov 07, 2015 3:04 pm ] | ||
Post subject: | Program not continuing. | ||
What is it you are trying to achieve? <Replace all the <> with your answers/code and remove the <>> What is the problem you are having? I'm fairly new to turing, (taking an introductory course) and I came across a problem with my code, it does not continue after the two variables have been entered, the program just finishes. Describe what you have tried to solve this problem I've tried "then" statements, and I can't think of anything else, which is why I came to this forum.
Please specify what version of Turing you are using I am using turing version 4.1.1 *Added note: I'm sorry if I used the wrong formatting, I'm very new to this. Thanks in advance for the help! |
Author: | Insectoid [ Sat Nov 07, 2015 3:36 pm ] |
Post subject: | RE:Program not continuing. |
The variables rock, paper, and scissors have no value. Your program isn't 'just finishing', it's crashing, and Turing is probably giving you an error message like 'variable rock has no value'. Maybe add a few lines like 'rock := "rock"'. |