Fahad/MCG-CS/Code/if-then2.kcl
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 08 May 2022 15:44:04 +0100
changeset 510 e97681d4edae
parent 45 7545b1bc1514
permissions -rw-r--r--
updated

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;