- 1

Twin primes.(program to be written in java language)

If p and q are both primes and q=p+2, then the pair p, q are called twin primes. For example 5, 7 are twin primes. Write a program to list all twin primes that are less that a positive integer entered by a user

18th Apr 2022, 8:59 AM
RAPHEAL KUMA
RAPHEAL KUMA - avatar
1 Réponse
0
Your try?
18th Apr 2022, 9:32 AM
Jayakrishna 🇮🇳