Question: Problem Statement Write and test a simple method to compute n!, the product of the first n positive integers. Given an integer parameter n, your
Problem Statement
Write and test a simple method to compute n!, the product of the first n positive integers. Given an integer parameter n, your method should print each number including n, calculate and return n!. For example 3! = 1 2 3 = 6.
Extra credit point if numbers are separated by a comma, 5 numbers per line
Hint: Refrain from using extremely large numbers, I recommend staying under 30. Otherwise, you compiler might take a long time or hang.
Sample output,

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
