diff --git a/GitHubTestProject/Program.cs b/GitHubTestProject/Program.cs index b910941..83467d5 100644 --- a/GitHubTestProject/Program.cs +++ b/GitHubTestProject/Program.cs @@ -15,13 +15,16 @@ static void Main(string[] args) /// /// Tests if a given number is a prime + /// /// /// public static bool IsPrime(int n) { - // TODO: Complete fhe funtion - return n % 2 != 0; + for (int i = 2; i @@ -30,7 +33,7 @@ public static bool IsPrime(int n) /// An integer array public static void Sort(int[] a) { - // TODO: Complete fhe funtion + Array.Sort(a); } } }