Java-Jet icon indicating copy to clipboard operation
Java-Jet copied to clipboard

Sum for fun

Open ShivangiSingh17 opened this issue 6 years ago • 2 comments

Give the code that prints any two numbers as output between 1-100 such that the two numbers when added yield a prime number less than 100. Example: Input: 71 output:(70,1)....

Input: 7 Output:(3,4),(6,1) etc Any 1 pair as output will work.

ShivangiSingh17 avatar Oct 18 '19 18:10 ShivangiSingh17

I will take this

Abhishek-Mittall avatar Oct 19 '19 18:10 Abhishek-Mittall

Created a PR for this issue https://github.com/ShivangiSingh17/Java-Jet/pull/173

prakhyatkarri avatar Oct 20 '19 16:10 prakhyatkarri