程序填空:程序采用选择法对数组元素进行从大到小排序。请将题目[填空]处的内容补充完整,使程序完成指定的功能。Private Sub Command1_Click() Dim iA(1 To 6),i%,j%,k%,n% n = 6 iA(1) = 8: iA(2) = 6: iA(3) = 9: iA(4) = 3: iA(5) = 2: iA(6) = 7 For i = 1 To n - 1 k=i For j = ______ To n If iA(j) > iA(k) Then ______ End If Next j t = iA(i) ______ iA(k) = t For m = 1 To n Print iA(m); Next m Print Next iEnd Sub答案2: 答案3:
程序填空:程序采用选择法对数组元素进行从大到小排序。请将题目[填空]处的内容补充完整,使程序完成指定的功能。Private Sub Command1_Click() Dim iA(1 To 6),i%,j%,k%,n% n = 6 iA(1) = 8: iA(2) = 6: iA(3) = 9: iA(4) = 3: iA(5) = 2: iA(6) = 7 For i = 1 To n - 1 k=i For j = ______ To n If iA(j) > iA(k) Then ______ End If Next j t = iA(i) ______ iA(k) = t For m = 1 To n Print iA(m); Next m Print Next iEnd Sub答案2: 答案3:
设有语句int ia=3;则执行了语句ia+=ia-=ia*ia;后,变量ia的值是 A: 3 B: 6 C: 9 D: -12
设有语句int ia=3;则执行了语句ia+=ia-=ia*ia;后,变量ia的值是 A: 3 B: 6 C: 9 D: -12
已知与的夹角为,且=-72,则||为( ) A: 4 B: 5 C: 6 D: 14
已知与的夹角为,且=-72,则||为( ) A: 4 B: 5 C: 6 D: 14
某矩阵m存储的数据如下:1 4 72 5 83 6 9现将该...________);}return0;}
某矩阵m存储的数据如下:1 4 72 5 83 6 9现将该...________);}return0;}
输出九九乘法表。1 2 3 4 5 6 7 8 9---------------...9*7=63 9*8=72 9*9=81
输出九九乘法表。1 2 3 4 5 6 7 8 9---------------...9*7=63 9*8=72 9*9=81
创建数组正确的是: A: int[] ia = new int [15]; B: float fa = new float [20]; C: char[] ca = “Some String”; D: Object oa = new float[20]; E: Int ia [][] = (4, 5, 6) (1, 2, 3)
创建数组正确的是: A: int[] ia = new int [15]; B: float fa = new float [20]; C: char[] ca = “Some String”; D: Object oa = new float[20]; E: Int ia [][] = (4, 5, 6) (1, 2, 3)
Which two create an instance of an array?() A: int ia = new int [15]; B: float fa = new float [20]; C: char ca = “Some String”; D: Object oa = new float[20]; E: Int ia = (4, 5, 6) (1, 2, 3)
Which two create an instance of an array?() A: int ia = new int [15]; B: float fa = new float [20]; C: char ca = “Some String”; D: Object oa = new float[20]; E: Int ia = (4, 5, 6) (1, 2, 3)
秋花椰菜可根据生理苗龄选用穴盘,4~5 叶苗用 128 穴,5~6 叶苗用 72[br][/br]穴。 ( )
秋花椰菜可根据生理苗龄选用穴盘,4~5 叶苗用 128 穴,5~6 叶苗用 72[br][/br]穴。 ( )
列出下面式子中因数和倍数关系:6×7=42 72÷8=923×3=69 50÷10=5
列出下面式子中因数和倍数关系:6×7=42 72÷8=923×3=69 50÷10=5
2/3、5/6、11/12、23/24、47/48、()。 A: 71/72 B: 79/80 C: 89/90 D: 95/96
2/3、5/6、11/12、23/24、47/48、()。 A: 71/72 B: 79/80 C: 89/90 D: 95/96