(10 XP) A function that checks if a number is a prime.
- Fork this repository to your GitHub account.
- Open solution file in Visual Studio.
- Open file
Numbers.cs
. - Implement the method
IsPrimeNumber(int num)
that checks if a number is a prime. - 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.
IsPrimeNumber(1) ➞ false
// number one is not a prime number
IsPrimeNumber(2) ➞ true
IsPrimeNumber(7) ➞ true
IsPrimeNumber(10) ➞ false