Write a program that asks the user for a phrase. The programdetermineswhether the supplied phrase is a palindrome (a phrase that reads the same backwards and forwards) Example “Murder, for a jar?of...

1 answer below »

Write a program that asks the user for a phrase. The programdetermineswhether the supplied phrase is apalindrome(a phrase that reads the same backwards and forwards)




Example




    1. “Murder, for a jar?of red rum.” is apalindrome

    2. “Too bad--I hid a boot.” is apalindrome

    3. “Try tbest yrt” is not apalindrome




  • Sample run:


    Enter a phrase:Murder, for a jar ?of red rum.


    “Murder, for a jar?of red rum.” isa palindrome


    Enter a phrase:Try tbest yrt


    “Try tbest yrt” is not a palindrome

    this is c++
    Answered Same DayNov 17, 2021

    Answer To: Write a program that asks the user for a phrase. The programdetermineswhether the supplied phrase is...

    Neha answered on Nov 17 2021
    121 Votes
    SOLUTION.PDF

    Answer To This Question Is Available To Download

    Related Questions & Answers

    More Questions »

    Submit New Assignment

    Copy and Paste Your Assignment Here