Array-promo

Question

Check whether Two numbers are twin prime numbers or not

(Twin Primes are the prime numbers with a difference of 2.)

Example: (3 and 5),(5 and 7),(11 and 13) etc

				
					Enter the First number:5
Enter the Second number:7
5 and 7  are Twin 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 *