Answers for "program to find factorial of a number in php"

PHP
2

php factorial

function Factorial($n) {
  	return ($n <= 1) ? 1 : $n * Factorial($n - 1);
}
Posted by: Guest on April-22-2021

Code answers related to "program to find factorial of a number in php"

Browse Popular Code Answers by Language