Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting 2 variables: one ascending, one descending
#8
Quote:Although, 99 - Age would have been better, because then you can simply sort ascending, then convert all ages to 99 - Age again.


True. 99-Age would have been better than 100-Age, since Moneo did not specify that Age 0 was off-limits. Subtracting Age 0 from 100 would leave 100 which is more than two digits, and hence out-of-bounds.

Good catch, Neo! I've edited my submission and given you credit for the change.

*peace*

Meg.
Reply


Messages In This Thread
My Submission - by Meg - 11-08-2004, 10:26 PM
Hey!.. - by ToohTooh - 11-08-2004, 11:16 PM
Sorting 2 variables: one ascending, one descending - by Meg - 11-09-2004, 12:03 AM
Now this is serious. - by ToohTooh - 11-10-2004, 07:13 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)