From 965f8bf85d7850be074bad735d815b15a85a3de0 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 20 Aug 2017 11:17:05 +0200 Subject: Second --- chaincond.lang | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 chaincond.lang (limited to 'chaincond.lang') diff --git a/chaincond.lang b/chaincond.lang new file mode 100644 index 0000000..542cae9 --- /dev/null +++ b/chaincond.lang @@ -0,0 +1,14 @@ +func int main() { + int a := 0; + if (a == 0) { + a = 1; + } else { + a = 2; + } + if (a > 0) { + a = 10; + } else { + a = 20; + } + return a; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2