0
/ 10
Write a function in Java called factorial()
that will take a positive integer as input and returns its factorial as output.
Searching for: numeric
Write a function in Java called factorial()
that will take a positive integer as input and returns its factorial as output.
Write a function in C++ called factorial()
that will take a positive integer as input and returns its factorial as output.