function congdon_dequy($i=0,$limit=5){
$i++;
if ($i<=5){
$b=$i+=congdon($i);
}
return $b;
}
function congdon_vonglap($i=0,$limit=5){
$b=0;
for($j=0;$j<$limit;$j++){
$i++;
$b+=$i;
}
return $b;
}
echo congdon_dequy(0,5);
echo "<br>";
echo congdon_vonglap(0,5);
0 comments: