You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System . out . println ("\""+s+"\""+" is a palindrome" ) ;
}
else
System . out . println ("\""+s+"\""+" is not a palindrome" ) ;
}
}
public static void main (String [ ] args ){
String input ="a. 0110. madam . Call it a day. nURSes , RUN !!!."+ " A man , a plan , a canal , Panama. Was it a car or a cat "+ " I saw. No ’x’ in Nixon. Break a leg. Was it Eliot ’s "+ "toilet I saw?" ;