0
Program to find difference between prime numbers in a range
5 Respuestas
+ 1
athik rehman ok, well then you should just make a function to check if the numbers are prime by checking if they have any divisors up to their square root, and if both the inputted numbers are prime, output their difference
+ 1
athik rehman no, if i make the code for you, you don't really learn anything
0
by difference to you mean just subtracting them all from one another?
0
if input is 2 primes then output should be difference of them
0
hinanawi thank u , can u insert code