結果 : print numbers in ascending order java without using array