programm for factorial
Answer / koushikgraj
<?php
function get_factorial_value($val)
{
$fact=1;
for($i=$val;$i>=1;$i--)
$fact=$fact*$i;
return $fact;
}
get_factorial_value(6);
?>
| Is This Answer Correct ? | 10 Yes | 1 No |
Why do we use javascript in php?
How can we change the maximum size of the files to be uploaded?
Does empty check for null?
What is the current stable version of php?
How to write comment in php?
In forms when i am click submit button it will store on the desired table as well as it send to paticuler mail id. Any body know the answer plz give me detail information.
Which of the delimiter is ASP style?
how to upload 100mb file using .htaccess..
Can you specify the "new line" character in single-quoted strings?
how to get server date and time?
What is string function sql?
A process is identified by a unique___