diff --git a/GitHubTestProject/Program.cs b/GitHubTestProject/Program.cs
index b910941..89f259e 100644
--- a/GitHubTestProject/Program.cs
+++ b/GitHubTestProject/Program.cs
@@ -20,7 +20,14 @@ static void Main(string[] args)
///
public static bool IsPrime(int n)
{
- // TODO: Complete fhe funtion
+ for (int i = 2; i <= Math.Sqrt(n); i++)
+ {
+ if (n % i == 0)
+ {
+ return false;
+ }
+
+ }
return n % 2 != 0;
}
@@ -30,7 +37,7 @@ public static bool IsPrime(int n)
/// An integer array
public static void Sort(int[] a)
{
- // TODO: Complete fhe funtion
+
}
}
}