5; X
if (X < 7) then (print the value 6;
如果(X < 7)然后(打印值6;
6) Y
6) Y
else (print the value 4;
其他(打印值4;
4) Y
4) Y
if (Y < 5) then (print the value 3)
如果(Y < 5)然后(打印值3)
else (print the value 2)
其他(打印值2)
_______________________
改善
3. What sequence of values would be printed if the procedure xxx described below were executed with N = 9?
3。什么值序列将印刷如果程序xxx下面描述被N = 9 ?
procedure xxx (N)
程序xxx(N)
if (N < 4) then (print the value of N;
如果(N < 4)然后(打印N值;
apply the procedure yyy to the value 7)
应用程序yyy价值7)
else (apply the procedure yyy to the value 2;
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库Assignment3(1)(4)在线全文阅读。
相关推荐: