Word Count

This program 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.

WSQ12WSQ12-2

 

CC BY-SA 4.0 Word Count by ferespib is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.