結果 : write a program to print 1 to 10 using while loop in java