Practice What You Learned

Fibonacci

Build an Express app:

  1. Add Fibonnaci as a comment in your application.
  2. Create a route 'fibonacci'
  3. This route will take one param, the number we will operate on.
  4. If the number param is not a fibonacci number, print out "I can tell this is not a fibonacci number."
  5. If the number is a Fibonacci number print out "Very good. It is Fibonacci."

Copyright © Per Scholas 2023