@@ -0,0 +1,1226 @@
+/**%0A * Complete the program to find the greatest common factor.%0A *%0A * The greatest common factor between 2 numbers is the largest factor%0A * that they have in common. For example the GCF of 12 and 8 is 4.%0A */%0Apublic class GCF%0A%7B%0A    /**%0A     * complete the method below which takes numbers as input%0A     * and returns the greatest common factor%0A     */%0A    public static int getGCF(int num1, int num2)%0A    %7B%0A        int maxFactor = 1;%0A        for (int i=2; i%3CMath.min(num1, num2); i++) %7B%0A            // It's a common factor%0A            if (num1 %25 i == 0 && num2 %25 i == 0) %7B%0A                maxFactor = i;%0A            %7D%0A        %7D%0A        return maxFactor;%0A    %7D%0A%0A    /**%0A     * This method is complete - It tests the GCF method%0A     */%0A    public static void main(String args%5B%5D)%0A    %7B%0A        System.out.println(%22GCF of 12 and 20 is %22 + getGCF(12,20));  // answer 4%0A        System.out.println(%22GCF of 1024 and 768 is %22 + getGCF(1024,768));  // answer 256%0A        System.out.println(%22GCF of 100 and 25 is %22 + getGCF(100,25));  // answer 25%0A        System.out.println(%22GCF of 90210 and 12561 is %22 + getGCF(90210,12561));  // answer 3%0A        System.out.println(%22GCF of 6229 and 6247 is %22 + getGCF(6229,6247));  // answer 1%0A    %7D%0A%7D%0A

Create GCF.java