Posts Tagged ‘palindrome’
Write a recursive, bool-valued function, isPalindrome that accepts a string and returns whether the string is a palindrome.
LANGUAGE: C++ CHALLENGE: A palindrome is a string that reads the same forwards or backwards; for example dad, mom, deed (i.e., reversing a palindrome produces the same string ). Write a recursive, bool-valued function, isPalindrome that accepts a string and returns whether the string is a palindrome.
Read More