开发一个Windows应用程序,要求用户输入1到100之间的整数.程序将显示在1到输入数字之间的质数. [英] Develop a windows application that ask user to enter integer between 1 and 100. The program will display the prime number found between 1 and the inputted number.

查看:204
本文介绍了开发一个Windows应用程序,要求用户输入1到100之间的整数.程序将显示在1到输入数字之间的质数.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开发一个Windows应用程序,要求用户输入1到100之间的整数.程序将显示在1到输入数字之间的质数.
例如,
输入数字:11
结果:1、2、3、5、7、11

Develop a windows application that ask user to enter integer between 1 and 100. The program will display the prime number found between 1 and the inputted number.
For Example,
Enter Number: 11
The result: 1, 2, 3, 5, 7, 11

推荐答案

我们不做作业:这是有原因的.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试,您可能会发现它比您想象的要容易得多!
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 a lot easier than you think!


在google上搜索相同的问题,您将获得完美的答案....
Search on google same question you will get answer''s perfectly ....


这篇关于开发一个Windows应用程序,要求用户输入1到100之间的整数.程序将显示在1到输入数字之间的质数.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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