
-----------------------------------
con.focus
Wed Jan 05, 2005 8:00 pm

input number lets u input that amount of numbers  help
-----------------------------------
how can i input a number a tell turing to read that number
n let me inout that amount of number.

ex  lets say i inout  5 turing will then let me input 5 more numbers


can u provide code or suggestions on how to do this

-----------------------------------
MihaiG
Wed Jan 05, 2005 8:22 pm


-----------------------------------
use a for loop i.e



var x, a, b :i nt
put "How mayn numbers  need"
get x
for i : 1 .. x
...
end for

understand..

-----------------------------------
con.focus
Wed Jan 05, 2005 9:09 pm


-----------------------------------
sry dont need no more  but thx ne way  elcomandante

-----------------------------------
Cervantes
Thu Jan 06, 2005 4:39 pm


-----------------------------------


var x, a, b :i nt
put "How mayn numbers  need"
get x
for i : 1 .. x
...
end for


What's the point of the two extra variables?  From what I've seen, you quite often have these extra, useless, and poorly named variables in all your programs. :eh:
