Question: Please use C++ to solve homework, will solve a problem using arrays. A palindrome is a word, phrase or number In this that reads the
homework, will solve a problem using arrays. A palindrome is a word, phrase or number In this that reads the same forward and backward, ignoring blanks and considering uppercase and lowercase versions of the same letter to be equal. For example the following words/phrases in English are palindromes we Eva can I stab bats in a cave ."Mr Owl ate my metal worm." "Was it a rat I saw", "Ma is as selfless as I am . "Rats live on no evil star" ."A nut for a jar of tuna "Dammit, I'm mad" ."A Santa lived as a devil at NASA" Hannah Bob Ana Mike Kim Palindromes are used in Computer Science, Mathematics, Acoustics and Biology. For example, recently it has been discovered that DNA palindromes appear frequently and are widespread in human cancers, and identifying them could help advance the understanding of genomic instability Your goal here is to write a program that will accept a sequence of characters and will decide whether the string is a palindrome. You may assume that the input contains only letters and blanks and is at most 80 characters long. Output example (Your code must match this exact format): This program tests if a word/phrase is palindrome. Please enter your phrase (just letters and blanks, piease Ha n na Yes, the phrase s a palindrome! Nature Genetics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
