A program that gathers both a word and sentence from a user, then checks how frequently the word appears in the sentence.
Behavior | Input | Output |
---|---|---|
user will enter a sentence. | "I like cats, lets make a cathedral." | app will proceed to next question |
user will enter a word. | "cat" | app will calculate instances of word in sentence |
- Click the link shown in the above photo and allow your browser some time to download the file.
- Navigate to the directory (folder) that contains your browser's downloads.
- Double-click on directory name directory (folder).
- Open directory (folder) contents. (un-zip file).
- Run index.html.
- Open your terminal (mac users).
- PC users will need Git for Windows, here is the latest version. (2.23.0) 32-bit (https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/Git-2.23.0-32-bit.exe).
- Navigate to your desktop in your terminal using
cd desktop
. If this command does not work please usecd ~
, which will return you to your user account's home folder. Once this is complete, repeat the commandcd desktop
followed bygit clone [repository link here]
.
App does not remove whitespace from end of user word input. Word search must be without white space at the end.
If you run into any issues running Word Counter, please contact Dominique Youmans at ddyoumans@icloud.com.
- .NET.
- C#.
MIT
Copyright (c) 2020 Dominique Youmans