Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: Need help determining if number is a palindrome using an array!

    23 % 10 = 3
    23 / 10 = 2
  2. Re: Need help determining if number is a palindrome using an array!

    This has nothing to do with java. Its basic math
    The number 123 is 1 * 10^2 + 2 * 10^1 + 3 * 10^0

    The programming part would Use the % and / operators to do the work
  3. Re: Need help determining if number is a palindrome using an array!

    Strip off each power of 10 and store that value in the array
    Given 123 the array would be {1,2,3}


    Please edit your post and wrap your code with


    <YOUR CODE HERE>

    to get highlighting and...
Results 1 to 3 of 3