+ 2
How to print prime number in java
using a single or multiple for loops single must be preferred
1 Answer
+ 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.