Raised This Month: $ Target: $400
 0% 

Sorting an array..?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 12-28-2006 , 15:33   Sorting an array..?
Reply With Quote #1

Example
Code:
new randomarray[5] randomarray[0] = 42 randomarray[1] = 27 randomarray[2] = 81 randomarray[3] = 22 randomarray[4] = 68
How would i sort this array so the biggest number is first and the lowest number is last?
Deviance is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode