0

How to solve this question ⁉️

Print all pair of prime numbers whose sum equals the number given by the user.

19th Nov 2023, 9:52 AM
ABRAHAM JOY RAJENDRAKUMAR
ABRAHAM JOY RAJENDRAKUMAR - avatar
2 ответов
+ 3
What have you tried so far? Please link your code. First step is how to decide if a number if prime or not. Then you have to find all the primes within the range of the input number. Finally you have to figure if you can make a sum from any two primes.
19th Nov 2023, 10:25 AM
Tibor Santa
Tibor Santa - avatar
+ 2
try it by yourself and if you face Any error , we will help you
19th Nov 2023, 1:27 PM
Alhaaz
Alhaaz - avatar