結果 : use two variables in for loop java