Skip to content

AAWhang/WordCounter-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Word Counter

A C# program that will count the number of times a word appears in a sentence, July 26, 2019

By Aaron Whang

Description

This program was created for the Eighth Friday project assigned to the students of Epicodus Seattle May 28th class. This is a program that will prompt the user to input a word and a sentence. The program will check how many times that word appears in the setence.

Setup/Installation Requirements

  • clone repository off of Github
  • go to parent directory using terminal for Mac, git.bash for Windows
  • type in 'dotnet run' to run the program

Known Bugs

Specifications

  • Spec: The program returns a false. * Input: "The dog barks at the kids", "cat" * Output: "false"

  • Spec: The program returns a true * Input: "The dog barks at the kids", "dog" * Output: "true"

  • Spec: The program returns a false when string is present within a word * Input: "cathedral", "cat" * Output: "false"

  • Spec: The program returns the number of times the word appears * Input: "cat cat dog dog cat dog cat dog dog cat dog", "dog" * Output: "6"

  • Spec: The program will ignore case * Input: "Cat cat cAt CaT", "cat" * Output: "4"

  • Spec: The program will check for spaces in the second string * Input: "How do you do, ma'am?", "do you" * Output: "Please enter one word to check. No Spaces please."

Support and contact details

For any questions about the website, code or content, please contact me at tlbhibiki@gmail.com

Technologies Used

Written in C#

License

All code are created and owned by Aaron Whang

Copyright (c) 2019 Aaron Whang

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published