Computer Science, asked by SANRIDDHA, 6 hours ago

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 chandrikachavda181
0

hope this answer is write

Similar questions