Computer Science Canada

Assistance - Predict O.O.T. output!

Author:  5pretty [ Fri Apr 25, 2014 3:00 pm ]
Post subject:  Assistance - Predict O.O.T. output!

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?
Program is not executing


Describe what you have tried to solve this problem
Carefully checked over. What are they not executing?


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>

Turing:


var m:real:= 9
n:=3
if m<n then put m*2
else put m*3
end if

ANOTHER ONE (not included in the code, just to show another example)

for j: 10..1 by 4
put j
end for

ANOTHER ONE (not included in the code, just to show another example)

for i: 9..7
put i
end for



Please specify what version of Turing you are using
<Answer Here>

Author:  Tony [ Fri Apr 25, 2014 3:24 pm ]
Post subject:  Re: Assistance - Predict O.O.T. output!

5pretty @ Fri Apr 25, 2014 3:00 pm wrote:

Program is not executing

What is the program doing instead?


: