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.

icon
Related questions
Question
Write in c++ please
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.
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
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer