皮皮学,免费搜题
登录
搜题
【简答题】
要求产生10个随机整数,存放在数组Arr中,从键盘输入要删除的数组元素的下标,将该元素中的数据删除,后面元素中的数据依次前移,并显示删除后剩余的数据,现有如下程序: Option base 1 Private Sub Command1_Click() Dim arr(10)as integer For i=1 to 10 ‘循环1 Arr(i)=int(rnd*100) Print arr(i) Next X=inputbox(“输入1-10的一个整数:”) For i=x+1 to 10 ‘循环2 Arr(i-1)=arr(i) Next For i=1 to 10 ‘循环3 Print arr(i) Next End Sub 程序运行后发现显示的结果不正确,应该进行的修改是 A)产生随机数时不使用int函数 B)循环2的初始值应为i-x C)数组定义改为Dim a(11)as integer D)循环3的循环终值9
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】()是黎族日常生活中独特的野炊方法。
A.
土灶烧饭
B.
五色米饭
C.
竹筒烧饭
D.
熏骨
【单选题】无明显肿块的乳房恶性肿瘤是:
A.
炎性乳癌
B.
乳管骨乳头状癌
C.
乳癌
D.
乳房叶状囊肉瘤
E.
乳头湿疹样乳癌
【简答题】Complete the sentence with a formal word which has the same meaning as the phrasal verb in the bracket.Over the course of the next twelve months this trend is likely to ____________ (speed up)
【简答题】Venice is an attractive city in Italy. Tourists throughout the world love traveling to Venice. But sometimes you’ll have such strange experiences. One moment you walk across the Rialto Bridge, and the...
【简答题】A recent trend in Californian restaurants shows new eating habits among those out to have an interesting dining experience. Appetizers(开胃品)seem to be the name of the s as diners turn away from the...
【判断题】竹筒烧饭是黎族日常生活中独特的野炊方法。( )
A.
正确
B.
错误
【判断题】竹简烧饭是黎族日常生活中独特的野炊方法。()
A.
正确
B.
错误
【简答题】This course aims to introduce basic knowledge of rapid development in this industry and predicts the future trend and generalizes the entire eco-system of Cross-border E-commerce(CBEC).
【简答题】The year 2017 will be an important year in China's course of development. The 19th CPC National Congress will be held and the 13th Five-Year Plan will enter the stage of all-round, intensive implement...
【单选题】为电动吸痰,每次吸痰的时间为( )
A.
吸净为止
B.
最少1分钟
C.
最少30秒
D.
最少15秒
E.
不超过15秒
相关题目: