ordering #'s
Moderators:Administrator, Global Moderator
- frankiebaby
- Global Moderator
- Posts:95
- Joined:Tue Apr 30, 2002 1:38 am
- Location:Pennsylvania
- Contact:
Re: ordering#'s
well, that depends on how your holding the numbers, so if your in an array, that would be much easier, just check if the first 2 are in order, if not use the swap command, and add 1 to a temp counter, else do nothing. then the second and third, third and forth, ect. then loop again until the temp counter comes out zero.