- Joined
- Oct 20, 2007
- Messages
- 342
If there are given 9 number that is 1~9 (1,2,3,4,5,6,7,8,9)
It will generate random 3 number in a set. (e.g. 135, 253, 785, 223, 444, 661)
And i want it to rearrange it in ascending order.
for example:
Given 153 Output 135
Given 881 Output 188
Given 753 Output 357
Given 584 Output 458
Given 792 Output 279
Given 333 Output 333
Given 877 Output 778
How to rearrange those number?
It will generate random 3 number in a set. (e.g. 135, 253, 785, 223, 444, 661)
And i want it to rearrange it in ascending order.
for example:
Given 153 Output 135
Given 881 Output 188
Given 753 Output 357
Given 584 Output 458
Given 792 Output 279
Given 333 Output 333
Given 877 Output 778
How to rearrange those number?