程序xxx(N)
while (N < 4) do
虽然(N < 4)做的
(print the value of N;
(打印N值;
N + 2; N
N + 2; N
print the value of N
打印N值
)
)
__________________
_____________
10. What sequence of numbers would be printed if the following procedure were executed with N = 0?
10。什么数字序列将印刷如果下列程序被N = 0 ?
procedure xxx (N)
程序xxx(N)
print the value of N;
打印N值;
if (N < 5) then (apply the procedure xxx to the value N + 2);
如果(N < 5)然后(应用程序xxx值N + 2);
print the value of N
打印N值
__________________
_____________