int?sum=0;
for(a=1;a<=50;a++){
while(a%2==0){
sum=sum+a;
}
}
求50以內的偶數之和。幫找代碼錯誤處。
yuanyuan_0005
2016-02-28 09:40:18