count prime: b. Write a function is_prime() which determi…
count prime: b. Write a function is_prime() which determines if a number is prime. The function has one integer parameter. The function returns true if the input parameter is prime and false otherwise.A number a is prime if and only if (a mod b ≠ 0) for b = 2, 3, …, (a − 1) […]
