Array-promo

Question

Check whether the given number is twisted prime using Recursion. 

(A number is called a twisted prime number if it is a prime number and the reverse of this number is also a prime number.)

				
					For example,let's say 13 is the given number then as 13 is prime number and reverse of 13 is 31 which is also prime number therefore,
13 is a Twisted Prime number

				
			

Share code with your friends

Share on whatsapp
Share on facebook
Share on twitter
Share on telegram

Code

Coding Store

Leave a Reply

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