#******************************************************************************
# function to find factorial
#******************************************************************************
function fact($i){
if($i==1){
return 1;
}else{
return $i*fact($i-1);
}
}
#******************************************************************************
No comments:
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.