$first=0;
$second=1;
$n=6;
for($i=0;$i<$n;$i++){
if($i<=1){
$next=$i;
}else{
$next=$first+$second;
$first=$second;
$second=$next;
}
echo $next;
return 0;
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.