give us the first letter of each word, the first half of each word, the reverse of each word, and a palindrome checker to see if the word is a palindrome. I would like for us to read in a list of words from a file, store them in a vector of strings, then process each one. In addition to each of the above functions (which is how you should write each of them), you need to write functions that tell me the number of 3 letter words, 4 letter words, 5 letter words, and those greater than 5 letters long. I would like for the code to display the palindromes and give the total number of palindromes in the list. I would like to have it display the longest word in the list as well as the shortest word. These words will be unique using the data file provided. Implement this as we have done with other projects in lab where we create a vector, read in the values from the file and store them in a temp variable, then push them onto the vector. Next write functions that will do the above requirements.
The following words should be saved to a file called "wordlist.dat" which is read in by the program:
hello
winner
miles
bob
anthropomorphic
racecar
lasagna
tunnel
there
noon
buster
muster
cannon
shoutitout
hannah
ollo
remember
clearance
disability
trendsetter
philanthropist
antidisestablishmentarianism
meter
elephant
chant
quadracycle
linear
rotational
madam
eye
it
eventually
concerted
forest
forgery
amalgamation
tarnation
confounded
higher
balance
checkpoint
career
ghost
stage
steppets
clog
remove
resend
growing
hilarious
gnome
found
home
are
fantastical
shark