fibonacci.in 153 B

123456789101112131415
  1. /* fibonacci of 44 is 701408733 */
  2. n = 44;
  3. i = 1;
  4. a = 0;
  5. b = 1;
  6. while (i < n) {
  7. w = a + b;
  8. a = b;
  9. b = w;
  10. i = i + 1;
  11. }
  12. print(w, "\n");