用visual foxpro编写程序,要求 求1+2+3+...+100的和,急急急

如题所述

第1个回答  2014-02-25
clear
s=0
for n=1 to 100
s=s+n
endfor
?"1+2+3+...+100=",s
return
相似回答