0
/ 2.0
Write a function in Java called factorial()
that will take a positive integer as input and returns its factorial as output.
Score: 0 / 2.0
Write a function in Java called factorial()
that will take a positive integer as input and returns its factorial as output.