CS 1. Write a program having a String class that contains a function that can reverse the order of the characters in a string. A palindrome is a word or group of words that read the carne forward and backward. For example, "madam" or "wow". Write a program that takes a string argument from the command line and returns TRUE if the string is a palindrome.
CS 1. Write a program having a String class that contains a function that can reverse the order of the characters in a string. A palindrome is a word or group of words that read the carne forward and backward. For example, "madam" or "wow". Write a program that takes a string argument from the command line and returns TRUE if the string is a palindrome.
Related questions
Question
Write in c++ please

Transcribed Image Text:CS
1.
Write a program having a String class that contains a function that can reverse the
order of the characters in a string. A palindrome is a word or group of words that
read the carne forward and backward. For example, "madam" or "wow". Write a
program that takes a string argument from the command line and returns TRUE if
the string is a palindrome.
Expert Solution

Step 1: Summary
I have provided C++ CODE along with CODE SCREENSHOT and OUTPUT SCREENSHOT-----------
Step by step
Solved in 4 steps with 4 images
