vba编程 求1+2+3...+100的值

来源:学生学帮网 编辑:学帮网 时间:2024/06/24 23:14:02

vba编程 求1+2+3...+100的值

sum=0
for i=1 to 100
sum=sum+i
next