Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static int countLetters(string word, string countableLetter)
- {
- int count = 0;
- foreach (char c in word)
- {
- count++;
- }
- return count;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement