Menu Close

Program to find if the entered number is prime or not using recursion.

Code:

https://gist.github.com/programmingfaster0226/a1383f3d4b6fff18e0c588fec6400de7

Output:

Enter a number: 6

6 is not a prime number

Leave a Reply

Your email address will not be published. Required fields are marked *