Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 help me limit a loop
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
2FAST4U




PostPosted: Mon Apr 21, 2003 6:07 pm   Post subject: help me limit a loop

okay I am writing a program and I need to make it so that a number I answer my first question with is the number of times I have to answer my secong question...
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Apr 21, 2003 6:10 pm   Post subject: (No subject)

you should read a tutorial on loops available in our tutorials section of the forum.

a quick tip - forloops

code:

get number

for i:1..number
put i
end for
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: