阅读背景:

如何使用方法将用户输入限制为大于0的整数?

来源:互联网 

Every time I run this code, I get the prompt "INTEGER GREATER THAN 0", even if I type in an integer greater than 0 for the first try. What I'm trying to accomplish with the verify method is that the input will only accept an integer greater than 0, and if they put in something else it will prompt them "INTEGER GREATER THAN 0". Any help would be appreciated.Every time I run this code, I get the prompt "I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: