This program checks to se if a given word exist in given sentece
- Clone from GitHub https://github.com/ghasemii0/WordCounter.Solution_
Behavior | Sentence Input | Output |
---|---|---|
Takes the sentence as string and splits word by word into and array. | "I am struggling" | { "I", "am", "struggling" } |
Takes the sentence and returns how many times word "cat" is repeated | I am struggling cat cat cat | 3 |
Takes the sentence and returns how man times word "pizza" is repeated. | I love pizza and I am eating pizza | 2 |
_If you have any questions or contributions, reach out to Mustafa Ghasemi at mostafa_ghasemi63@yahoo.com
C#
Copyright (c) 2019 Mustafa Ghasemi, Epicodus Student