+ 2

How to print prime number in java

using a single or multiple for loops single must be preferred

30th May 2018, 8:36 PM
Jamil Khattak
Jamil Khattak - avatar
1 Odpowiedź
+ 3
Here’s a challenge about prime numbers that teaches you a nice algorithm for doing it: https://www.sololearn.com/learn/969/ If you look in the comments you’ll find codes in different languages, including Java.
31st May 2018, 12:03 AM
Pedro Demingos
Pedro Demingos - avatar