Skip to content

Commit

Permalink
V
Browse files Browse the repository at this point in the history
  • Loading branch information
ghluka committed Mar 29, 2024
1 parent ebef4a7 commit 608e2dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/V/V/fibonacci.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fn main() {
mut a := 0
mut b := 1
for _ in 0 .. 10 {
println(a)
b += a
a = b - a
}
}

0 comments on commit 608e2dc

Please sign in to comment.