Please code in C++, and read the whole thing, bold is hints onwhat needs to be used and examples on how output should be
Code begins below line.
——————————————-
In this lab you will write a program that reads in a text filecontaining a list of words, and writes two text files; onecontaining words with an even number of characters, the othercontaining words with an odd number of characters.
The program should begin by prompting the user for the name ofthe input file. Validate the filename to make sure it ends in .txt.If it does not, re-prompt the user after printing an informativemessage. For
PayPal Gateway not configured
PayPal Gateway not configured