help, how to arrange numbers in increasing order in some condition
843785Oct 5 2008 — edited Oct 5 2008I really need help i try to code a program of sorting. The code does have an array which a set of integers. Now, how can arrange these numbers "by just base on there tens digit,. regardless the other digit. I cant explain exactly but this is how it looks
the array:
356 -2nd digit is 5
768 -2nd digit is 6
426 -2nd digit is 2
908 -2nd digit is 0
expected output: sorted there 2nd digit:
908
426
356
768
please help