@@ -0,0 +1,700 @@
+//Author: Miguel A Rodriguez%0A%0A%0A%0Aimport java.util.*;%0A%0Apublic class factorial2%0A%7B%0A public static void main (String%5B%5D args)%0A %7B%0A %0A Scanner scan = new Scanner(System.in);%0A String another=%22%22;%0A%0A do%0A %7B%0A System.out.println(%22Please enter a number: %22);%0A long n = scan.nextLong();%0A long result = Factorial(n);%0A    System.out.println(%22The factorial of %22 + n + %22 is %22 + result);%0A    %0A    System.out.println(%22Continue %3Cy or n%3E:?%22);%0A     another=scan.next();%0A    %0A %7Dwhile(another.equalsIgnoreCase(%22y%22));%0A %0A %7D%0A //method%0A public static long Factorial (long n)%0A%7B%0A  //baser case%0A  %0A  if(n==1)%0A       return 1;%0A  %0A  else%0A   //recursive call%0A  %0A  return n*Factorial(n-1);%0A  // return n+Factorial((n+1)/2);%0A   %0A   %7D%0A %0A %7D%0A %0A%0A

Create factorial2.java