int i=1, sum=0;
while (i<=10) {
  sum = sum + i;
  i++;
}
閉じる

Copyright FUJITSU