...

/

Challenge 2: Check for Prime Number

Challenge 2: Check for Prime Number

In this lesson, you will implement the code to check if a number is prime using recursion.

What is a prime number?

A prime number is a number greater than 1 that has only two divisors: 1 and the number itself. The first few prime numbers are:

2,3 ...

Access this course and 1400+ top-rated courses and projects.