(14 XP) A function that checks if a string contains two consecutive matching letters.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Checker.cs
. - Implement the method
DoubleLetters(string str)
that checks if a string contains two consecutive matching letters. - Run with
CTRL+F5
to test it. - If all tests are passed, commit & sync your repository.
- Send a link to your repository for Lab Master (in #slack) to check it.
DoubleLetters("loop") ➞ true
DoubleLetters("yummy") ➞ true
DoubleLetters("orange") ➞ false
DoubleLetters("munchkin") ➞ false