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 same 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. 2. Write a function that takes as argument an array of integers and the size of the array and returns the average of the input values. O Int= avrg(int * array, int size)
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 same 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. 2. Write a function that takes as argument an array of integers and the size of the array and returns the average of the input values. O Int= avrg(int * array, int size)
Related questions
Question
Write In c++

Transcribed Image Text: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 same 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.
2. Write a function that takes as argument an array of integers and the size of the array
and returns the average of the input values.
o Int= avrg(int * array, int size)
1/25/2023
CS Scanned CamScanner
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
