int sum =0;. for(int i=1;i. {. sum +=jiecheng(i);. } return sum;. } //while. private int sumjiechengByWhile(int n). {. int sum =0,i=1;.
確定! 回上一頁