勤劳母鸡

文章
5
资源
0
加入时间
2年10月18天

计算随机十个数的和

1  Private Sub Command1_Click()ClsDim n As IntegerDim s As IntegerDim a(10) As Integern = 1While n a(n) = Int(Rnd * 1000)n = n + 1Wendn = 1While n Print a(n)n = n + 1Wend