Search:

Type: Posts; User: vivekbansal

Search: Search took 0.20 seconds.

  1. Replies
    7
    Views
    4,648

    Re: Check for palindrome numbers

    Yes, it was getting reset to 0, I should have used variable check, where I am storing the value to print.

    Here is the one which will return the result with values.



    int num[] = {121, 13,...
  2. Replies
    7
    Views
    4,648

    Re: Check for palindrome numbers

    Here is the code that would find out the palindrome number. You need not take another String array if you don't want to use it outside the loop.




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