问题 单项选择题

以下程序段中Do...Loop循环执行的次数为( )。 n=5 Do lf n Mod 2=0 Thenn=n\2 Elsen=n*3+1 End If Loop untiln=1

A.4

B.3

C.5

D.2

答案

参考答案:C

单项选择题
单项选择题