結果 : print pattern in java using while loop