皮皮学,免费搜题
登录
搜题
【简答题】
下面的程序代码实现将一个一维数组中元素向右循环移动,移位次数由文本框Text输入。例如数组各元素的值依次为0,1,2,3,4,5,6,7,8,9,10;移动三次后,各元素的值依次为8,9,10,0,1,2,3,4,5,6,7。 Private Sub Moveright(x()As Integer) Dim i As Integer Dim j As Integer Dim k As Integer i=UBound(x) j=x(i) For k=i To ______ Step-1 _______ Next k x(LBound(x))=j End Sub Private Sub Command1_Click() Dim a(10)As Integer Dim i As Integer Dim j As Integer Dim k As Integer For i=0 To 10 a(i)=i Next i j=Val(Text1.Text) k=0 Do k=k+1 Call MoveRight(a) Loop Until k=j For i=0 To 10 Print a(i); Next i End Sub
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】下列哪些患者高热时可使用乙醇擦浴?
A.
肺炎
B.
糖尿病
C.
动脉硬化
D.
昏迷
E.
水肿
【简答题】Fill in the blanks with the expressions given. Change the form where necessary. let on cling to marvel at subject...to engage in break out take a dive on l...
【简答题】Fill in the blanks with the proper forms of the words given. (refined, questioning/questionable, visualize, marvel, engagingly, withdraw) 10. She looked so_____________ pretty that Bruce thought he ha...
【单选题】时序逻辑电路的分析方法有( )。
A.
列写状态方程
B.
列写驱动方程
C.
列写状态表
D.
选项B和C
【判断题】安排施工尽量保持施工生产的连续性、均衡性和协调性
A.
正确
B.
错误
【判断题】安排施工尽量保持施工生产的连续性、均衡性和协调性
A.
正确
B.
错误
【单选题】时序逻辑电路的分析方法有( )。 A.列写状态方程 B.列写驱动方程 C.列写状态表 D.以上都是
A.
B.
C.
D.
D
【简答题】完形填空 根据上下文和首字母将文章所缺单词补充完整。 Six minutes to six, said the digital clock over the information desk in Grand Central Station. John Blandford, a tall young army officer, 1) f________ his eyesight on the cl...
【单选题】下列哪些患者高热时可使用乙醇擦浴?
A.
动脉硬化
B.
肺炎
C.
昏迷
D.
糖尿病
【单选题】下列哪些患者高热时可使用乙醇擦浴
A.
糖尿病
B.
昏迷
C.
动脉硬化
D.
肺炎
相关题目: