Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
omaraflak committed Aug 28, 2023
1 parent 474a36f commit 1a6a523
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,20 @@ make

Run program:

`fibonacci.na`
```
./banana -i ./examples/fibonacci.na
long fib(long n) {
if (n == 1 or n == 2) {
return n;
}
return fib(n - 1) + fib(n - 2);
}
print fib(10);
```

```
./banana -i fibonacci.na
```

# Features
Expand Down

0 comments on commit 1a6a523

Please sign in to comment.