[求助]应该怎么定义100以内的正整数呢?
这个学期刚学VB.今天老师给我们布置了一道题哦,但是看来看去都不是很懂,不知道怎么定义100内的正整数..我现在把题发上来希望大家能帮我解答一下.谢谢大家了..
1.编制一个程序,实现以下功能,输入一个小于100的正整数,如果超出范围则弹出"你必须输入一个小于100的正整数"的提示信息,然后计算其平方根并在消息框中输出.要求使用输入对话框来进行输入和输出,执行结果如图所示:




大概就是这样了,不知道有没有大哥大姐能帮一下小弟呢.小弟万分感激!!!实在怎么想都想不明白啊..
