Write a program to find matching string from the inputted data of file and show the count for how many time that specific word repeats in to the file content.
Answers
Answered by
1
Answer:
Input : string = "GeeksforGeeks A computer science portal for geeks"
word = "portal"
Output : Occurrences of Word = 1 Time
Input : string = "GeeksforGeeks A computer science portal for geeks"
word = "technical"
Output : Occurrences of Word = 0 Time
Similar questions