From 0c680f342e5d1a83b887352a96241baefcdce526 Mon Sep 17 00:00:00 2001 From: lang0909 <lang0909@ajou.ac.kr> Date: Wed, 28 Aug 2019 16:25:38 +0900 Subject: [PATCH] Add third sample file for interpreter operation --- sample2.mc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sample2.mc diff --git a/sample2.mc b/sample2.mc new file mode 100644 index 0000000..3ef49a7 --- /dev/null +++ b/sample2.mc @@ -0,0 +1,15 @@ +a=10; +b=20; +c=30; +d=40; +if(a<b) +{ + if(c<d) + max = a; + else + max = b; +} +else + max = c; + +print max; -- GitLab