Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 508 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 508 Bytes

Numeric Spirals

Build a function that takes one parameter and prints out the Fibonacci sequence based on the input parameter.

  • Write a function that takes one parameter
    • Parameter 1 - A number
  • The function should output the Fibonacci sequence to the number of spaces set by parameter 1 starting from zero.
  • Example:
    • fibSequence(12);
    • Output - 0 1 1 2 3 5 8 13 21 34 55 89
  • If you are unfamiliar with the Fibonacci sequence Click Here