Fahad/MCG-CS/Code/if-then2.kcl
author Chengsong
Sun, 09 Jul 2023 00:29:02 +0100
changeset 657 00171b627b8d
parent 45 7545b1bc1514
permissions -rw-r--r--
Fixed some annotated/unannotated a/r notation inconsistencies.

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;