Hey people, we are in the finish line, so, let’s make a little more effort to finish this curse.
So, heré’s what we need to do:
- Create a program that asks the user for a word which will be your search word and the name of a file to open and search for that word. Then create a function that will receive two parameters (both string) representing those two data points. This function returns the number of occurrences of that word in that file
Seems like a difficult one, but it isn’t, check this out:
If you have any question ask in the comments section below.
Let’s keep moving forward people
#WSQ12 – Word Count by manuelmendezhijar is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.