check palindrome

write a program to check whether it is a palindrome or not ?

Input : 12321

output : it is a palindrome

input : mam

output : it is a palindrome

input : 12345

output: not a palindrome

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data