<?php
function fnnumber($num){
if($num <1){
return;
}
return fnnumber($num - 1) + ($num - 1) ;
}
$vishal = 10;
echo fnnumber($vishal);
?>
<?php
function fnnumber($num){
if($num <1){
return;
}
return fnnumber($num - 1) + ($num - 1) ;
}
$vishal = 10;
echo fnnumber($vishal);
?>
0Comments
Thanks you for commenting your questions. I will see question and respond you.