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

Username:   Password: 
 RegisterRegister   
 Alphabetical order
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
blankout




PostPosted: Wed Mar 04, 2009 5:50 pm   Post subject: Alphabetical order

Is it possible to create a program in which i could write names and then output them in alphabetical, reverse or the order in which they were input?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Mar 04, 2009 5:54 pm   Post subject: RE:Alphabetical order

Yes, it is possible.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
blankout




PostPosted: Wed Mar 04, 2009 5:55 pm   Post subject: Re: Alphabetical order

well could you possibly help me with it?
Tony




PostPosted: Wed Mar 04, 2009 6:33 pm   Post subject: RE:Alphabetical order

sure, what do you need help understanding?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
blankout




PostPosted: Wed Mar 04, 2009 6:36 pm   Post subject: Re: Alphabetical order

well, i'm kinda new to turing so basically just how to put the answers in alphabetical order in the run window
Tony




PostPosted: Wed Mar 04, 2009 6:55 pm   Post subject: RE:Alphabetical order

you would need to compare strings.
Turing:

put "compsci" > "dwite"
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  [ 6 Posts ]
Jump to:   


Style:  
Search: