Write and run a c++ program that reads the input data from theinput file and produces an output file, palindrome.txt, containingall palindromes in the input file. A palindrome is a word, phrase,or number, or a sequence of characters which reads the same forwardor backward.
For this QUIZ you will need to create and use an input file called words.txt: Abcba 5 b5 gfg hgd ryz zaaz jkl nml s
OR
OR