diff --git a/RountreeLabs/Lab01/isPrime.c b/RountreeLabs/Lab01/isPrime.c new file mode 100644 index 0000000..5fc47e0 --- /dev/null +++ b/RountreeLabs/Lab01/isPrime.c @@ -0,0 +1,21 @@ +#include +#include + +int is_prime(int n){ + int i; + for(i=2;i