@@ -0,0 +1,1070 @@
+%0Aimport javax.swing.JOptionPane;%0A%0A/**%0A * Find the difference between the sum of the squares of the first one hundred%0A * natural numbers and the square of the sum.%0A *%0A * @author Matthew Van der Bijl%0A */%0Apublic final class Problem_7 implements Runnable %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        new Problem_7().run();%0A    %7D%0A%0A    @Override%0A    public void run() %7B%0A        int i = 0;%0A        int j = 0;%0A%0A        while (true) %7B%0A            if (isPrime(i)) %7B%0A                j++;%0A                if (j == 10001) %7B%0A                    JOptionPane.showMessageDialog(null, i);%0A                    break;%0A                %7D%0A            %7D%0A            i++;%0A        %7D%0A    %7D%0A%0A    private boolean isPrime(int num) %7B%0A        if (num != 2) %7B%0A            if (num %25 2 == 0 %7C%7C num == 1) %7B%0A                return false;%0A            %7D else %7B%0A                for (int i = 3; i %3C Math.sqrt(num) + 1; i += 2) %7B%0A                    if (num %25 i == 0) %7B%0A                        return false;%0A                    %7D%0A                %7D%0A            %7D%0A        %7D%0A        return true;%0A    %7D%0A%7D%0A

Create Problem_7.java