Skip to content

Commit

Permalink
add loops/step
Browse files Browse the repository at this point in the history
  • Loading branch information
serkonda7 committed Mar 3, 2024
1 parent 55b3722 commit 6b2967c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/l/loops_step/expected.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1
3
5
7
9
6 changes: 6 additions & 0 deletions tasks/l/loops_step/main.bt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fun main() {
// Print all single digit odd numbers
for i := 1; i < 10; i += 2 {
println(i)
}
}

0 comments on commit 6b2967c

Please sign in to comment.