[Solved]Write C Program Include Library Q37251132
Write a C++ program.
Do not include any library other than <iostream>,<iomanip>, <fstream> and or <cmath>

Q1. Cstring A palindrome is a word or number which reads the same backward as forward. For example, madam, abcdcba, and 120021 are all palindromes. Now given a string, if it has palindromic substrings, find all the palindromic substrings of this string (except for the palindromic substrings of length 1), sort them and output the largest one. For example, if the input is madam, it has two palindromic substrings ada and madam, then you should output macam as macam İs larger than ada. Assume the size of input string is less than 10. Expected Outcomes Example 1 Please input a string: eraser There is no palindromic substring Example 2 Please input a string madam he result is: madam Example 3 Please input a string: boom The result is: oo Show transcribed image text Q1. Cstring A palindrome is a word or number which reads the same backward as forward. For example, madam, abcdcba, and 120021 are all palindromes. Now given a string, if it has palindromic substrings, find all the palindromic substrings of this string (except for the palindromic substrings of length 1), sort them and output the largest one. For example, if the input is madam, it has two palindromic substrings ada and madam, then you should output macam as macam İs larger than ada. Assume the size of input string is less than 10. Expected Outcomes Example 1 Please input a string: eraser There is no palindromic substring Example 2 Please input a string madam he result is: madam Example 3 Please input a string: boom The result is: oo
Expert Answer
Answer to Write a C++ program. Do not include any library other than , , and or … . . .
OR

