Result:
Enter file name:
content.txt
Enter word to count:
world
Number of time world occured is 2
Solution
Result:
Enter file name:
content.txt
Enter word to count:
world
Number of time world occured is 2.
ResultEnter file name content.txt Enter word to count wor.pdf
1. Result:
Enter file name:
content.txt
Enter word to count:
world
Number of time world occured is 2
Solution
Result:
Enter file name:
content.txt
Enter word to count:
world
Number of time world occured is 2