From 41ee399fba3c74717e499cd9aed2e98463a12da5 Mon Sep 17 00:00:00 2001 From: shivaabhishek07 Date: Thu, 29 Sep 2022 22:27:27 +0530 Subject: [PATCH] Added new algorithm in C language->Maths i.e, Prime pumber checker --- algorithms/C/maths/primenum.c | 1 + 1 file changed, 1 insertion(+) diff --git a/algorithms/C/maths/primenum.c b/algorithms/C/maths/primenum.c index c6f1d37c..8c764df5 100644 --- a/algorithms/C/maths/primenum.c +++ b/algorithms/C/maths/primenum.c @@ -10,6 +10,7 @@ - Input | Output - 12 | It is not a Prime number - 31 | It is a Prime number +- Time Complexity -> O(n/2) */ #include int is_prime(int n){