Search:

Type: Posts; User: Loh Jane

Search: Search took 0.10 seconds.

  1. Re: How to limit users to enter only 12 digit input and an integer value in Java?

    Thanks but my program must not accept any letter or symbol and it must only accepts numbers,please advise.
  2. Re: How to limit users to enter only 12 digit input and an integer value in Java?

    Hi,
    but I need to loop it if the input is incorrect,do you have any other advice?

    --- Update ---

    I mean the program needs to loop and it only accepts a numeric input.
  3. How to limit users to enter only 12 digit input and an integer value in Java?

    Hi Java professionals,
    I want to limit the program to only accept a 12 digit input and an integer value but I don't know how to program it,please help.

    import java.util.Scanner;
    public class...
Results 1 to 3 of 3