Write a program to accept any 2 numbers from user and check whether they are twin prime or not.
If the difference between two prime numbers is 2 then the numbers are twin prime numbers.
Example int a=19,b= 17. Output:. Twin prime.
int a=13 , b=19. Output: both are prime numbers but not twin prime
int à=23, b=25 output: one number is not a prime number.
Please solve fast its an emergency
Answers
Answered by
0
hope this answer is write
Similar questions
English,
3 hours ago
Physics,
3 hours ago
Computer Science,
3 hours ago
Math,
8 months ago
Math,
8 months ago