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

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/27 01:00:54

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

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