Computer Science Canada

calling up an array

Author:  numba1 [ Fri Jun 10, 2005 8:06 pm ]
Post subject:  calling up an array

the user inputs their selection into an array(1-5 items)
now how do i display the contents of the array to the user

Author:  wtd [ Fri Jun 10, 2005 8:20 pm ]
Post subject: 

If you know how to use Turing's "for" loop and "put", then you already know the answer to that question.

Author:  MysticVegeta [ Fri Jun 10, 2005 8:51 pm ]
Post subject: 

code:
var arr : array 1..5 of string
for s : 1..5
get arr(s)
put arr(s)
end for


: