diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 14:47:15 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 14:47:15 +0200 |
commit | c36fd5a174ab74465b8562c5fb4fa69a25dfca79 (patch) | |
tree | cebd29dfb75e4713934a995ad13b957769194e7d /compare.lang | |
parent | f8d264f2b18fccdc3b96d8fb66656128a25137f2 (diff) |
Fourth
Diffstat (limited to 'compare.lang')
-rw-r--r-- | compare.lang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compare.lang b/compare.lang new file mode 100644 index 0000000..1de9a70 --- /dev/null +++ b/compare.lang @@ -0,0 +1,10 @@ +func int main() { + int i := 0; + while (i != 10) { + if (i == 5) { + i = i + 2; + } + i = i + 1; + } + return 0; +} |