(7 XP) A function that checks if a number is odd or even.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Numbers.cs
. - Implement the method
EvenOrOdd(int number)
that checks if a number is odd or even. - 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.
EvenOrOdd(3) ➞ "odd"
EvenOrOdd(146) ➞ "even"
EvenOrOdd(19) ➞ "odd"