Search:

Type: Posts; User: helloworld922

Search: Search took 0.13 seconds.

  1. Replies
    13
    Views
    2,027

    [SOLVED] Re: Help with an Array

    I can't really recommend any good Java books in particular, but I'm sure there are some good ones out there (sounds like you found one already). I learned Java mostly through classes, the internet,...
  2. Replies
    13
    Views
    2,027

    [SOLVED] Re: Help with an Array

    parseInt converts the string "3" to an integer 3, it can't convert the string "three" to an integer 3.
  3. Replies
    13
    Views
    2,027

    [SOLVED] Re: Help with an Array

    What's the exception it's throwing?
  4. Replies
    13
    Views
    2,027

    [SOLVED] Re: Help with an Array

    Yep, that's the simple solution. The same mechanism can be used to filter out numbers out of the range.
  5. Replies
    13
    Views
    2,027

    [SOLVED] Re: Help with an Array

    You forgot the numbers 11 through 19.

    Rather than manually converting a String "22" to "twenty-two", it's much simpler to convert the integer 22 to "twenty-two" through a little clever math.
    ...
Results 1 to 5 of 5