我用迴圈寫的程式如下%script8_12.m total1=0 total2=0 for x=[1:50].^2 if mod(x,2)==0 total1=total1+x else total2=total2+x end end and=total1- ...
確定! 回上一頁