Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $first = 0;
- $second = 1;
- $n = 30;
- $inc = 1;
- echo $first."<br>".$second."<br>";
- do{
- $inc++;
- $final = $first + $second;
- $first = $second;
- $second = $final;
- echo $final."<br>";
- }
- while ($inc < $n) ;
- ?>
Add Comment
Please, Sign In to add comment