@@ -0,0 +1,722 @@
+%0Aimport javax.swing.JOptionPane;%0A%0A/**%0A * If we list all the natural numbers below 10 that are multiples of 3 or 5, we%0A * get 3, 5, 6 and 9. The sum of these multiples is 23.%0A *%0A * Find the sum of all the multiples of 3 or 5 below 1000.%0A */%0Apublic class Problem_1 implements Runnable %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        new Problem_1().run();%0A    %7D%0A%0A    @Override%0A    public void run() %7B%0A        int total = 0;%0A%0A        for (int i = 0; i %3C 1000; i++) %7B%0A            if ((i %25 3) == 0) %7B%0A                total += i;%0A            %7D else if ((i %25 5) == 0) %7B%0A                total += i;%0A            %7D%0A        %7D%0A%0A        // System.out.println(total);%0A        JOptionPane.showMessageDialog(null, total);%0A    %7D%0A%7D%0A

Create Problem_1.java