+ 1

Write a program using while loop to find if the number is prime number or not.

11th Apr 2017, 2:24 AM
Tehreem
3 Respuestas
+ 4
You can also use fermats theorm in finding prime numbers. Its much more effective an it does it quick even with prime numbers. I have one here : https://code.sololearn.com/cbo6WUTLeLp1/?ref=app
11th Apr 2017, 4:02 AM
Wen Qin
Wen Qin - avatar