D.im S1(5)As Integer,S2(5)As Integer,S3(5)As Integer
N=4
F.orI=1 To N
S1(I)=I
L=N+i-I
S2(I)=L
NextI
S3(5)=0
F.orK=1 To N
S3(K)=S1(K)*S2(K)
S3(5)=S3(5)+S3(K)
NextK
PrintS1(3)=S1(5);S1(2)
PrintS2(4)=S3(
[单选题]下列程序的输出结果为( )。 S1=”1”:S2=”2”:SI=Val(S1)+Val(S2):S2=Val(”12”) If S1S2 Then P int S1-S2 Else Print S2-S1A.-9B.9C.-12D.0
[单选题]下列程序的输出结果为( )。S1=”1”:S2=”2”:SI=Val(S1)+Val(S2):S2=Val(”12”)If S1<>S2 Then P int S1-S2 Else Print s1-S2A. -9B. 9C. -12D. 0
[单选题]以下程序段的输出结果是______。 main() { char s1[10],s2[10],s3[10]; scanf("%s",s1);gets(s2);gets (s3); puts(s1);puts(s2)puts(s3) } 输入数据如下:(此处<CR>代表回车符) aaa<CR> bbb<CR>A.aaa bbbB.aaa bbbC.aaa/0bbb/0D.aaabbb
[单选题]以下程序段的输出结果是______。 main() { char s1[10],s2[10],s3[10]; scanf("%s",s1);gets(s2);gets(s3); puts(s1);puts(s2);puts(s3); } 输入数据如下:(此处<CR>代表回车符) aaa<CR> bbb<CR>A.aaa bbbB.aaa bbbC.aaa/0bbb/0D.aaabbb
[单选题]下列程序段的输出结果为( )。 Dim M(5, 5), S(5) For i=1 To 5 S(i)=0 For j=1 To 5 M(i, j)=i+j S(i)=S(i)+M(i, j) Next j Next i For Each x In S Print x; Next xA.20 23 24 35 40B.20 25 30 35 40C.20 23 25 35 40D.20 25 35 40 45
[单选题]下列程序段的输出结果为( )。 Dim M(5,5),S(5) For i=1 To 5 S(i)=0 For j=1 To 5 M(i,j)=i+j S(i)=S(i)+M(i,j) Next j Next i For Each x In S Print x; Next xA.20 23 24 35 40B.20 25 30 35 40C.20 23 25 35 40D.20 25 35 40 45
[单选题]下列程序段的输出结果为( )。 Dim M(5,5), S(5) For i = 1 To 5 S(i) = 0 For j = 1 To 5 M(i, j) = i + j S(i) = S(i) + M(i, j) Next j Next i For Each x In S Print x; Next xA.2023 24 3540B.2025 30 3540C.2023 25 35 40D.2025 354045
[单选题]下列程序段的输出结果为( )。 Dim M(5,5),S(5) For i=1 To 5 S(i)=0 For j=1 To 5 M(i,j)=i+j S(i)=S(i)+M(i,j) Next j Next i For Each x In s Print x; Next xA.2023 24 3540B.2025 30 3540C.2023 25 3540D.2025 354045
[单选题]|S1-S2/|S1+S2|,提示:()。A.对比噪声比B.对比度C.图像均匀度D.空间分辨率E.信噪比
[单选题]下列程序段的输出结果是( )。D.im M(5,5),S(5)F.or i=1 To 5S(i)=0F.or j=1 To 5M(i,j)=i+jS(i)=S(i)+M(i,j)Next jNext iF.or Each x In SPrint x;Next xA.20 23 24 35 40B.20 25 30 35 40C.20 23 25 35 40D.20 25 35 40 45