$15
Modify your first program to print a table of the words of an input file in alphabetical order with the count of each word. Case should be ignored. A sample run of the program might look like this:
Please enter a file: data.txt
a 8
about 1
after 1
all 2
always 1
and 9
are 1
asked 1
balance 1
bank 1
be 2
because 3
began 1
better 1
between 1
by 1
can 2
cannot 1
change 3
...
data.txt
My mentor Earl Shoaff taught me that it's not what happens that determines the major part of our future, because what happens, happens to us all. Instead, he taught me that the key is what we do about it. If we start the process of change by developing a plan, doing something different the next year than we did the previous year, it won't matter how small those efforts start. Start doing different things with the same set of circumstances — the ones we've always had and cannot change — and see what miracles occur. If we start the miracle process and change ourselves, then everything changes. And here's what is interesting: The difference between failure and success is subtle.
...
Remember that your plan is the roadmap for how you are going to get to your goals, so you have to have them. Of all the things that changed my life for the better (and most quickly), it was learning how to set goals. Mastering this unique process can have a powerful effect on your life, too. I remember shortly after I met Mr. Shoaff, he asked me if I had a list of my goals, and of course I didn't. He suggested to me that because I lacked a set of clearly defined goals that he could guess my bank balance within a few hundred dollars... and he did! Well, Mr. Shoaff immediately began helping me define my view of the future, my dreams. He taught me to set goals because it is the greatest influence on a person's future and the greatest force that will pull a person in the direction that they want to go. The future must be planned, well designed to exert a force that pulls you toward the promise of what can be.
https://www.success.com/article/rohn-it-only-takes-6-steps-to-plan-your-success