What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-15 20:07:02
reads the string in then determines if the string is a palindrome.
#include <iostream> using namespace std; // Iterative function to check if given string is a palindrome or not bool isPalindrome(string str) { int low = 0; int high = str.length() - 1; &n... Add solution