假定有以下程序段 n=0 for i=1 to 3 for j=-4 to -1 n=n+1 next j next i 运行完毕后,n的值是( )。A.0B.3C.4D.12

假定有以下程序段 n=0 for i=1 to 3 for j=-4 to -1 n=n+1 next j next i 运行完毕后,n的值是( )。

A.0

B.3

C.4

D.12


相关考题:

假定有以下程序段 n=0 for i=1 to 3 for j=-4 to -1 n=n+1 next j next i 运行完毕后,n的值是________。A.0B.3C.4D.12

假定有以下程序段 n=0 For i=1 To 3 For j=-4 To-1 n=n+1 Next j Next i 运行完毕后,n的值是( )。A.0B.3C.4D.12

假定有以下程序段n=0for i=1 to3for j=-4 to -1n=n+1next jnext i运行完毕后,n的值是A.0B.3C.4D.12

假定有以下程序段: n=0fori=l to 3fori=4to-1n=n+1next jnext i运行完毕后,n的值是( )。 A.0S 假定有以下程序段: n=0fori=l to 3fori=4to-1n=n+1next jnext i运行完毕后,n的值是( )。A.0B.3C.4D.12

假定有以下程序段 n=0 for i=1 to 3 for j=-4 to -1 n=n+1 next j next i 运行完毕后,n的值是(. )A.0B.3C.4D.12

假定有以下程序段: n=0fori=lt04forj=3 to一1 step一1n=n+lnextjnexti运行完毕后,ll的值是( )。A.12B.15C.16D.20

假定有以下程序段: n=0fori=l t03forj=-3t0 1n-=n+1nextjnexti运行完毕后,n的值是( )。 A.3SX 假定有以下程序段: n=0fori=l t03forj=-3t0 1n-=n+1nextjnexti运行完毕后,n的值是( )。A.3B.4C.12D.15

6、计算运行下列程序段后m的值: Calculate the value of m after running the following program segment n = 9; m = 0; for (i=1;i<=n;i++) for (j = 2*i; j<=n; j++) m=m+1; 求m的值

计算运行下列程序段后m的值: Calculate the value of m after running the following program segment n = 9; m = 0; for (i=1;i<=n;i++) for (j = 2*i; j<=n; j++) m=m+1; 求m的值