posted 9 years ago
I'm no pro, but I think that maybe you could use an if loop,
if number <=9{
System.out.println("your number is less than 10")
}
if number <=19{
System.out.println("ÿour number is less than 20")
}
and so on,
all you have to do, is create a method to accept numerical inputs from the user, and store the value in an int number variable.
You haven't described what your problem is, and I don't understand what you mean by "next page", you will probably have to use some Jframe,Jpanel, and the like also.
Maybe if you could describe your problem in detail, someone with more skill than I, could tell you which methods you will need and how to use them, or at least point you toward a tutorial page.