Computer Science, asked by pankajsingh74651, 1 month ago

#include int main() {
int n, rev = 0, temp;
std::cin>>n;
while(n > 0){
int r = n % 10;
rev = rev * 10 + r;
n = n % 10;
}
if(rev == temp)
std::cout<<"Palindrome";
return 0;
}

Answers

Answered by shivam27109918
0

Answer:

dhdjdkbejdjdbxbdndbd

Similar questions