Saved Bookmarks
| 1. |
To check if two numbers are twin primes using loop. |
|
Answer» tion: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. |
|