Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,408

    Re: Trouble with detecting digits

    As the error message says: the Random class does not have a nextLine method. You can only call methods that exist not ones you think exist. Even if it was to work the Random class generates numbers....
  2. Replies
    3
    Views
    1,408

    Re: Trouble with detecting digits

    This might be easier if you deal with the numbers as Strings and chars instead of ints. For single digit numbers simply concat a '0' to the front.
Results 1 to 2 of 2