Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: How to limit users to only enter integer into a String variable.

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.

    Its hard to see the logic without the code properly formatted.
  2. Re: How to limit users to only enter integer into a String variable.

    You can't control what a user enters, but you can make the program not accept what the user enters.
    To do that use a loop that asks the user for input, tests what is input and exit the loop if the...
Results 1 to 2 of 2