Assume that the true secret message in Problem 24 is stored in the second letter of each word….
Assume that the true secret message in Problem 24 is stored in the second letter of each word. Write a program to read a data file and determine the secret message stored in the file.
Problem 24
Another simple code encodes a message in text such that the true message is represented by the first letter of each word. There are no spaces between the words, but the decoded string of characters can easily be separated into words by a person. Write a program to read a data file and determine the secret message stored by the sequence of first letters of the words. (Hint: Store the first letter of each word in a character string.)