Fahad/MCG-CS/Code/While.kcl
author Chengsong
Mon, 01 Nov 2021 10:29:52 +0000
changeset 368 56781ad291cf
parent 45 7545b1bc1514
permissions -rw-r--r--
added root.tex

var FirstNum = 10;
var SecondNum = 5;

while FirstNum > SecondNum do
	print FirstNum;

	FirstNum = FirstNum - 1;
endwhile;

print "Enter any number to continue";
read SecondNum;