1. Engineering
  2. Computer Science
  3. in java...

Question: in java...

Question details
In Java

12. Using while-loop, write a method factorial that takes an integer n and returns n!. If n K 1, you should return 1.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution