HusnaSari / Algorithms

MIT License
1 stars 1 forks source link

Check is Prime Number #9

Open emrerenJs opened 2 years ago

emrerenJs commented 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

HusnaSari commented 2 years ago

Eta:1 hour

HusnaSari commented 2 years ago

Ata: 35 minutes