绘制接受3个数字的流程图并显示这些数字中的最少者 [英] draw a flowchart of accept 3 numbers and display the least of these numbers

查看:106
本文介绍了绘制接受3个数字的流程图并显示这些数字中的最少者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

接受3个数字并计算最小

Accept 3 numbers and calculate least

推荐答案

1。开始

2.输入a,b,c

3. m< -a

4.如果b
5.如果c< m然后m< -c

6.输出m

7.结束
1. start
2. input a,b,c
3. m<-a
4. if b < m then m<-b
5. if c < m then m<-c
6. output m
7. end


完成它!



这很简单。现在你想要什么?



哦,我明白了......对不起,我告诉我这样做。一直以来,你只是想让我们做你的作业...傻我。



我们不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样困难!
Done it!

That was easy. Now what do you want?

Oh, I see...sorry, I though you were telling me to do it. When all along, you just wanted us to do your homework... silly me.

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!


如果我们为你提供正确的解决方案,将会发生以下两种情况之一:



1 。导师认识到你没有自己做功课并做出相应的反应(我个人认为这是个好例子 - 至少导师现在有机会让你回到正轨)



2.导师接受解决方案,并将在您了解基础知识的假设下继续教学。但由于你不太了解你的作业,任何基于流程图基础知识的高级教学都会自动失败!根据这个基本主题对你正在做的课程的重要程度,这可能会导致足够的问题,最终导致失败。我认为,这是最糟糕的结果。那真的你要求的是什么?再想一想!





亲自试试吧。查看您的课程资料或良好的在线资源,例如 http://en.wikipedia.org/wiki/Flowchart [ ^ ]。如果您无法理解特定主题,请随时提出,我们将提供帮助。但你至少应该试试。
If we provide you with the correct solution, one of two things will happen:

1. The tutor recognizes you didn't do your homework by yourself and react accordingly (personally I consider that the good case - at least the tutor now has a chance to put you back on track)

2. The tutor accepts the solution, and will continue to teach under the assumption you know the basics. But since you didn't understand enough to do your homework, any advanced teaching building on the basics of flowcharts will automatically fail! Depending on just how important this basic topic is with respect to the course you are doing, this may cause enough problems to ultimately fail it. This, I think, is the worst possible outcome. Is that really what you are asking for? Think again!


Try it yourself. Check out your course materials or a good online resource such as http://en.wikipedia.org/wiki/Flowchart[^]. If you have trouble understanding a specific topic, feel free to ask and we will help. But you should at least try.


这篇关于绘制接受3个数字的流程图并显示这些数字中的最少者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆