expand icon
book ADTs, Data Structures, and Problem Solving with C++ 2nd Edition by Larry Nyhoff cover

ADTs, Data Structures, and Problem Solving with C++ 2nd Edition by Larry Nyhoff

النسخة 2الرقم المعياري الدولي: 978-0131409095
book ADTs, Data Structures, and Problem Solving with C++ 2nd Edition by Larry Nyhoff cover

ADTs, Data Structures, and Problem Solving with C++ 2nd Edition by Larry Nyhoff

النسخة 2الرقم المعياري الدولي: 978-0131409095
تمرين 10
The following exercises ask you to write functions to do various kinds of string processing. To test these functions you should write driver programs as instructed in Programming Problems 13-23 at the end of this chapter.
A string is said to be a palindrome if it does not change when the order of its characters is reversed. For example,
?madam 463364 ABLE WAS I ERE I SAW ELBA
are palindromes. Write a function that, given a string, returns true if that string is a palindrome and returns false otherwise.
التوضيح
موثّق
like image
like image

Function:
The function to check whether...

close menu
ADTs, Data Structures, and Problem Solving with C++ 2nd Edition by Larry Nyhoff
cross icon