Added new algorithm in C language->Maths i.e, Prime pumber checker

pull/855/head
shivaabhishek07 2022-09-29 22:27:27 +05:30
parent c16f3ea897
commit 41ee399fba
1 changed files with 1 additions and 0 deletions

View File

@ -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<stdio.h>
int is_prime(int n){