changeset 45 | 7545b1bc1514 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Fahad/MCG-CS/Code/if-then2.kcl Wed Nov 12 12:24:26 2014 +0000 @@ -0,0 +1,16 @@ +var FirstNum = 25; +var SecondNum = 15; + + + +if FirstNum > SecondNum then + if FirstNum > 9 then + print "First Number is greater then 9"; + else + print "First Number is less then 9"; + endif; + print "first number is GREATER than second number"; +else + print "first number is LESS than second number"; +endif; +