Skip to content

Commit

Permalink
fix: add back the original example
Browse files Browse the repository at this point in the history
  • Loading branch information
pgagnidze committed May 18, 2023
1 parent d3c5d9c commit a448a0a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions example/example.ena
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
function a() {
str = "string ";
return "string "
}
function main() {
return a() + "literals";
}
ფუნქცია ფაქტორიალი(ნ = 6) {
თუ ნ != 0 {
დააბრუნე ნ * ფაქტორიალი(ნ - 1)
} თუარა {
დააბრუნე 1
}
}

ფუნქცია main() {
დააბრუნე ფაქტორიალი()
}

0 comments on commit a448a0a

Please sign in to comment.