Word Count game takes a user input word and sentece and determines how many times the word is used in that sentence.
Behavior | Input | Output |
---|---|---|
User inputs a word. | "car" | Program stores the word "car" |
User inputs a sentence. | "This is my car" | Program stores the sentence |
When user inputs valid word and sentence program counts how many time the word is in the sentence. | word: "car" sentence: "This is my car" | Program returns: 1 |
When user's word is part of another word, the program does not count the word. | "Be careful!" | Program returns: 0 |
In Terminal:
- Navigate to where you want this application to be saved, i.e.:
cd desktop
- Clone the file from GitHub with HTTPS
git clone https://github.com/dzhambov/WordCounter-CSharp
- Go to WordCount.Solutions derectory
$ cd WordCount.Solutions
- Go to WordCount derectory
$ cd WordCount
- Run
$ dotnet run
to start the game in your terminal
No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
- C#
- .NET
- Git
- C# and MSTest Template Maker by Dusty McCord and Patrick Kille
Copyright © 2020 Hristo Dzhambov