Search:

Type: Posts; User: SnooSnoo

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    4,501

    Re: Check for palindrome numbers

    Ah yes I see now. I just have to create another array holding the same values and use that when printing.
    I didn't realize the /10 part until you pointed it out. ( _;)
    The original printReverse...
  2. Replies
    7
    Views
    4,501

    Re: Check for palindrome numbers

    I run the program and end up getting

    I've no idea why the array values become 0. I added a system.out.println OUTSIDE of the for loop and it successfully prints the value.

    Completely Missing...
  3. Replies
    7
    Views
    4,501

    Check for palindrome numbers

    First of, hi I'm a new user here. Learning my first year of Java.
    This is just an exam question which I couldn't solve but am eager to find the answer to.

    int num[] = {121, 13, 34, 11, 22, 54};
    ...
Results 1 to 3 of 3