The following is a program I wrote for an assignment. It runs with no problems. It removes "the" if found as a word in a string.
I am posting to ask of ways