Assignment3(1)(4)

2021-01-20 18:34

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;


Assignment3(1)(4).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:海洋地质调查与研究元数据的标准化

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: