如图是一个简单的数值运算程序,当输入 的值为4时,则输出的结果为 .
如图是一个简单的数值运算程序,当输入的值为4时,则输出的结果为....
如图是一个简单的数值运算程序,当输入 的值为4时,则输出的结果为 .
展开
众神战神3撛
2014-09-19
·
超过65用户采纳过TA的回答
知道答主
回答量:124
采纳率:50%
帮助的人:117万
关注
试题分析:先把 ![](https://iknow-pic.cdn.bcebos.com/023b5bb5c9ea15ce4fa809b8b5003af33a87b239?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto) 代入 ![](https://iknow-pic.cdn.bcebos.com/2934349b033b5bb5be91c94f35d3d539b600bc39?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto) 计算,若计算结果大于28,则输出;若计算结果小于28,则把计算结果再次代入 ![](https://iknow-pic.cdn.bcebos.com/2934349b033b5bb5be91c94f35d3d539b600bc39?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto) 计算,直至计算结果大于28. 当 ![](https://iknow-pic.cdn.bcebos.com/023b5bb5c9ea15ce4fa809b8b5003af33a87b239?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto) , 当 ![](https://iknow-pic.cdn.bcebos.com/b7003af33a87e9504a511add13385343fbf2b439?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto) , 则输出的结果为132. 点评:本题属于基础应用题,只需学生熟练掌握代数式求值的方法,即可完成. |
收起
为你推荐: