project111

Job ID: 33147249

Budget: $10 – $30 USD

Write a script that accepts an integer argument or reads user input, and then outputs the Fibonacci sequence up to that number, or the last number That is less than the input.

For example, an input of 5 should yield 0 1 1 2 3 5

and an input of 6 should also yield 0 1 1 2 3 5
Related categories: Bash Scripting Bash