Description
Description: a Palindrome is defined as a word, phrase, number, or other sequence of characters which reads the same backward as forward. For this lab, you will write 2 definitions for a Boolean function called palCheck, which returns true if the argument is a palindrome, and false if it is not.
- One definition will have a string as an argument, and the other will have an integer
- The definition for both versions will be recursive (see page 533 for help with the integer)
- The definition for the string version is easy if you remember you can go through a string just as you do an array
i.e. str[0], str[1], etc…
Send me the .cpp file