下面的程序的作用是利用随机函数产生10个100~300(不包含300) 之间的随机整数,打印其中7的倍数的数,并求它们的总和,请填空。 Sub TOF() Randomize Dim s As Double Dim a(10) As Integer For i=0 To 9 【10】 Next For i=0 To 9 If 【11】 Then Print a(i) s=s + a(i) 【12】 Next i Print Print 'S=' s End Sub
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】The 3-year-oid boy was found _____ in the bathroom. Nobody knows how and when he _____. [ ]
【简答题】A 篇 "I sometimes get up at three or four in the morning and I surf the Internet." "I often check my e-mail forty times a day." "I often spend more than three hours during one time on the Interne...
【简答题】The world’s population is increasing at an ever-fast rate, with severe consequences for the natural environment. For example, in there were 5.3 billion people in the world, or 93 million more tha...
【简答题】"I sometimes get up at three or four in the morning and I surf the Internet." "I often check my e-mail forty times a day." "I often spend more than three hours during one time on the Internet." "I spe...