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

Username:   Password: 
 RegisterRegister   
 how to sort an array
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
djlenny_3000




PostPosted: Tue Sep 14, 2004 8:33 am   Post subject: how to sort an array

in our compsci class we are currently studying flowcharts and pseudo code, we are making a chart on sorting 500 numbers from highest to lowest and outputing them, how would i do this in a program where the user inputs 500 numbers ( which can be done using a for statement ) but i need to somehow organize and output it from largest to smallest, PLEASE HELP, i am sooooo confused Confused Confused Confused Confused

im really confused Hit Wall Hit Wall Hit Wall Hit Wall Hit Wall Hit Wall Hit Wall
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Tue Sep 14, 2004 9:41 am   Post subject: (No subject)

There is a sreach funcion on this site, this question has been asked many times:

Lists alot of difrent ways to sort:
http://www.compsci.ca/v2/viewtopic.php?p=37979#37979

Some poleop asking the same question:

http://www.compsci.ca/v2/viewtopic.php?t=5724&highlight=sorting
http://www.compsci.ca/v2/viewtopic.php?t=5224&highlight=sorting
http://www.compsci.ca/v2/viewtopic.php?t=4369&highlight=sorting
http://www.compsci.ca/v2/viewtopic.php?t=447&highlight=sorting
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
djlenny_3000




PostPosted: Tue Sep 14, 2004 6:11 pm   Post subject: (No subject)

k sry, thnx neways
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  [ 3 Posts ]
Jump to:   


Style:  
Search: