@@ -0,0 +1,974 @@
+import java.util.Scanner;%0A%0A/**%0A * This program identifies three numbers in the input which have 5 as their factor%0A * and obtains their sum, then terminates.%0A **/%0Apublic class FactorsOf5Sum %7B%0A    public static void main(String%5B%5D args) %7B%0A        int sum = 0, count = 0, z;%0A        System.out.println(%22Factors of 5 and their sum%22);%0A        Scanner m = new Scanner(System.in);%0A%0A        // After we find three numbers, stop%0A        while (count %3C 3) %7B%0A            System.out.println(%22Input value%22);%0A            z = m.nextInt();%0A%0A            // Check if 5 is a factor%0A            // If the remainder after division is 0, then the divisor is a factor%0A            if (z %25 5 == 0) %7B%0A                count++;%0A                sum += z;%0A                System.out.println(z + %22 has 5 as its factor%5Cn%22);%0A            %7D%0A            // Print a blank line%0A            System.out.println();%0A        %7D%0A        System.out.println(%22Sum of all the number with a factor of 5 is: %22 + sum);%0A    %7D%0A%7D%0A

Add problem 4 in unit 1