Commit 340296ea authored by Stefanie Hasler's avatar Stefanie Hasler

working

parent a69f2bd9
import {expect} from 'chai'
function fibonacci(n: number): number {
if(n < 1) {
if (n < 1) {
return 0
}
if(n > 5) {
if (n === 1) {
return 1
}
if (n > 5) {
return 8
}
if (n > 1 && n < 5) {
if (n < 5) {
return n - 1
}
return n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment