Question: (Palindromes) A palindrome is a string thats spelled the same way forward and backward. Some examples of palindromes are: radar, able was i ere i

(Palindromes) A palindrome is a string thats spelled the same way forward and backward. Some examples of palindromes are: radar, able was i ere i saw elba. Write a function testPalindrome that returns 1 if the string is a palindrome or 0 if it is not. Your main program should prompt the user to provide a string of characters, then display the characters the user input back on the screen and store them into a file. Then one more time display the string in reverse and append it to the same file below the original string the user provided

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!