A palindrome is a word or a phrase that is the same when read both forward and backward Examples are "obsees or never od
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A palindrome is a word or a phrase that is the same when read both forward and backward Examples are "obsees or never od
A palindrome is a word or a phrase that is the same when read both forward and backward Examples are "obsees or never odd or evert (ignoring spaces). Write a program whose input is a word or phrase, and that outputs whether the input is a palindrome Exif the input is bob the output is bob 1o palindrome Exif the input is bobby the output is bobby is not a palindrome Hint Start by removing soaces. Then check it a string is equivalent to it's reverse
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!