Computer Science, asked by bs5314256gmailcom, 7 months ago

(15)
Question 7
Create a program to define a parameterized method to check whether a no is
palindrome or not plzz fast​

Answers

Answered by mayanktiwarimayank35
0

Answer:

hello what your question say me complete your question please

Explanation:

you complete your question then I will be give you answer

Answered by adr16
0

Answer:

Seems to be Java language... therefore using that.....

Explanation:

public class Solution

{

public static bool isPalindrome(int num)

{

int n = 0,sec = num,o=1;

while(sec != 0)

{

n=n+(sec%10*o);

sec/=10;

o*=10;

}

if(n == num)

{

return true;

}

return false;

}

}

Similar questions