+ 4
Not only after 13. Your code only works if both primes are at the same distance from input number. Use 2 loops. If you find a prime: break. if ( y1 == 2 && z1 == 2) must be outside.
7th Feb 2020, 2:47 AM
Kevin â˜