@@ -0,0 +1,314 @@
+class Primes %7B%0A    public static void main(String%5B%5D args) %7B%0A        int number = Integer.parseInt(args%5B0%5D);%0A%0A        for (int candidate = 2; number %3E 1; candidate++) %7B%0A            for (; number %25 candidate == 0; number /= candidate) %7B%0A                System.out.println(candidate);%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Add Java source code