一个VB的题目Sum=1+1*2+1*2*3+...+1*2*3
Sum=1+1*2+1*2*3+...+1*2*3*...*100 怎样用Do While Loop 来写啊
dim sum,i,cj sum=0 i=1 cj=1 do while i<=100 cj=cj*i '求阶乘 sum=sum+cj ‘求和 loop