@@ -0,0 +1,1138 @@
+import java.util.Scanner;%0A%0A/**%0A * This program computes the factorial of an input integer %3E=0 and %3C=12%0A **/%0Apublic class Factorial %7B%0A    public static void main(String%5B%5D args) %7B%0A        // Multiple assignment%0A        // %22number%22 will have no value, while%0A        // %22factorial%22 is set to 1%0A        int number, factorial = 1;%0A        %0A        System.out.println(%22Input a number %3E=0 and %3C= 12%22);%0A%0A        // Create a new Scanner object using System.in%0A        // This object allows us to get keyboard input%0A        Scanner scan = new Scanner(System.in);%0A        // Give us the next Integer value inputted via the keyboard.%0A        // Using nextInt() will ensure the value is an Integer.%0A        number = scan.nextInt();%0A%0A        // Calculate the factorial using the standard algorithm%0A        for (int i = 1; i %3C= number; i++) %7B%0A            factorial = factorial * i;%0A        %7D%0A%0A        // String concatanation%0A        // println() will parse Integers into Strings (turns numbers into strings)%0A        // then stick everything together into one long string.%0A        System.out.println(%22Factorial of %22 + number + %22 = %22 + factorial);%0A    %7D%0A%7D%0A

Add problem 2 for unit 1