A First Program in Turing


Copy and Paste the following into your Turing window, then hit "Run"

 

===== COPY BELOW HERE =========

% a simple Turing program
var name : string

put "Hello.  What is your name?"
get name
put "Hello, ", name

% end of program

===== COPY ABOVE HERE ========