Open emrerenJs opened 2 years ago
Read a number from console and check is prime number or not with a recursive function.
Example prime numbers: 2, 3, 5, 7, 11, 13, 17
Example : N : 23 Output : 23 is a prime number!
N : 32 Output : 32 is not a prime number..
N : 17 Output : 17 is a prime number!
Difficulty : 10/5
Eta:1 hour
Ata: 35 minutes
Read a number from console and check is prime number or not with a recursive function.
Example prime numbers: 2, 3, 5, 7, 11, 13, 17
Example : N : 23 Output : 23 is a prime number!
N : 32 Output : 32 is not a prime number..
N : 17 Output : 17 is a prime number!
Difficulty : 10/5