[单项选择题] 以下程序段中Do...Loop循环执行的次数为______。n=5 Doif n mod 2=0 then n=n2else n=n*3+1e
2021-07-20
[单项选择题] 以下程序段中Do...Loop循环执行的次数为______。n=5 Doif n mod 2=0 then n=n2else n=n*3+1end if Loop until n=1
A.4
B.3
C.5
D.2
正确答案:C
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。