vb/一道简单的编程题求解!
计算 s= 1+(1+2)+(1+2+3)+....+(1+2+3+4+.....+100)的值 求解!!
sum2 = 0
For i = 1 To 100
sum1 = 0
For j = 1 To i
sum1 = sum1 + j
Next j
sum2 = sum2 + sum1
Next i
MsgBox sum2
sum2=171700