Computer Science Canada how to sort an array |
Author: | djlenny_3000 [ 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 ![]() ![]() ![]() ![]() im really confused ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Author: | Dan [ Tue Sep 14, 2004 9:41 am ] |
Post 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 |
Author: | djlenny_3000 [ Tue Sep 14, 2004 6:11 pm ] |
Post subject: | |
k sry, thnx neways |