結果 : write a program to display the following pattern in java