Created A simple Factorial logic using two methods . (Where user give any number and factorial of that number is displayed on screen) Using Basic for loop method. Using Array and reduce method.