Answers for "factorial define"

C++
0

factorial

function factorial (n){
  j = 1;
  for(i=1;i<=n;i++){
    j = j*i;
  }
  return j;
}
Posted by: Guest on January-16-2022

Browse Popular Code Answers by Language