Fahad/MCG-CS/Code/if-then2.kcl
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sat, 06 Aug 2016 21:32:57 +0100
changeset 206 097f396a1ae6
parent 45 7545b1bc1514
permissions -rw-r--r--
added 3 new papers

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;