Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* No se porque se complican tanto en la sucesión de Fibonacci xD */
- print "\n### - Sucesión de Fibonacci! -- ###\n\n";
- $a=1;
- $b=1;
- while ($a<=100)
- {
- print $a . ", " . $b . ", ";
- $a = $a + $b;
- $b = $a + $b;
- }
- print "\n\n### --- --- --- --- --- --- --- ### \n\n";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement