Write a program to input a number from the user and print whether it is a palindrome number or not as follows.
int palindrome(int p): To check and return whether the number is a palindrome number or not.(A number which is read same from both the sides is called palindrome number. E.g. 121, 454, 12321, 565…etc.) The function returns 1(one) if the number is palindrome otherwise returns 0(zero)
void main(): To input a number from the user and print whether it is a palindrome number or not using a returned type method called int palindrome(int n)in java
Answers
Answered by
1
Answer:
sorry I don't know the answer but I try my best
Answered by
1
Answer:
sorry i dont now but your answer is too long plz upload the main q. here
Similar questions