Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $count = 0 ;
- $f1 = 0;
- $f2 = 1;
- echo $f1." , ";
- echo $f2." , ";
- while ($count < 5 ){
- $f3 = $f2 + $f1 ;
- echo $f3." , ";
- $f1 = $f2 ;
- $f2 = $f3 ;
- $count = $count + 1;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement