WordCounter

May 15th, 2020

Description

This console application will accept a word & sentence from the user to then count the number of times that word was used in the sentence

This application is already linked to a Program.cs, .csproj, & .gitignore, but will need a .NET 3.1 or 2.2 download

Setup/Installation Requirements

Make sure you have git version control installed on your computer.

  1. Click the green 'Clone or Download' button and copy the link / download the zip
  2. Open terminal and type... or skip to #4 if you downloaded the zip

Windows

cd desktop

Mac & linux

cd ~/Desktop
  1. in terminal type 'git clone {link to repository} '
git clone {link to repository}
  1. If you downloaded the zip then extract all onto your desktop
  2. Open the folder with VSC or an equivalent
  3. Download .NET Core Sdk 2.2 & Run dotnet -- version in the terminal to confirm installation
  4. In the terminal Run dotnet tool install -g dotnet-script
  5. Open project & Run dotnet run
  6. Enjoy

Specs

Behavior Driven Development Spec List

WordCounter

Behavior Input Output
The program will welcome the user 'dontnet run' 'Welcome to WordCounter'
The program will accept user input for the word 'wood' 'holds response data'
The program will accept user input for the sentence 'How much wood could a wood chuck, chuck if a wood chuck could chuck wood' 'holds response data'
The program counts the number of times the word is used in the sentence 'How much wood could a wood chuck, chuck if a wood chuck could chuck wood' '4'
The program displays the word count to the user 'N/A' 'wood was said 4 times'

Known Bugs

N/A - 5/8/2020

gh-pages

WiseFool92.github.io/WordCounter

Support

Email: watkins92@gmail.com


Built With

Useful tools





License

This project is licensed under the MIT License

Copyright (c) 2020 Nathan Watkins-Hoagland