网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

假定有以下程序段: n=0fori=lt04forj=3 to一1 step一1n=n+lnextjnexti运行完毕后,ll的值是( )。

A.12

B.15

C.16

D.20


参考答案

更多 “ 假定有以下程序段: n=0fori=lt04forj=3 to一1 step一1n=n+lnextjnexti运行完毕后,ll的值是( )。A.12B.15C.16D.20 ” 相关考题
考题 假定有以下程序段 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 4 for j=3 to-1 step-1 n=n+1 next j next i 运行完毕后n的值是( )。A.12B.15C.16D.20

考题 假定有以下程序段:n=0for i=1 to 3for j=1 to 3n=n+1next jnext i运行完毕后,n的值是______。

考题 假定有以下程序段 n=0fori=lt04forj=3 to-l step-ln=n+lnextjnexti运行完毕后n的值是( )。A.12B.15C.16D.20

考题 假定有以下程序段: 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 4 for j=3 to -1 step -1 n=n+l next j next i运行完毕后n的值是( )。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

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

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