Computer Science, asked by bhavnapanda0401, 9 months ago

To check if two numbers are twin primes using loop.

Answers

Answered by iamvanshika53
1

Explanation:

Check whether the given numbers are Prime Numbers. Check whether the difference is 2 between them. If both conditions are satisfied, display message on the screen that given numbers are twin prime. If not, print message as given numbers are not twin prime.

Similar questions