/WordCounter.Solution

A C# console application that will gather both a word and sentence from a user, then check how frequently the word appears in the sentence.

Primary LanguageC#

Word Counter

By Dominique Youmans

Description

A program that gathers both a word and sentence from a user, then checks how frequently the word appears in the sentence.

Specifications

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

Setup/Installation Requirements

Zip:

this is a photo of a step by step process to download this directory as a zip file

  1. Click the link shown in the above photo and allow your browser some time to download the file.
  2. Navigate to the directory (folder) that contains your browser's downloads.
  3. Double-click on directory name directory (folder).
  4. Open directory (folder) contents. (un-zip file).
  5. Run index.html.
Terminal:
  1. Open your terminal (mac users).
  2. 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).
  3. Navigate to your desktop in your terminal using cd desktop. If this command does not work please use cd ~, which will return you to your user account's home folder. Once this is complete, repeat the command cd desktop followed by git clone [repository link here].

Known Bugs

App does not remove whitespace from end of user word input. Word search must be without white space at the end.

Support and contact details

If you run into any issues running Word Counter, please contact Dominique Youmans at ddyoumans@icloud.com.

Technologies Used

  • .NET.
  • C#.

License

MIT

Copyright (c) 2020 Dominique Youmans