Fahad/MCG-CS/Code/While.kcl
author Chengsong
Sun, 18 Dec 2022 16:53:53 +0000
changeset 633 f1edd5ee1a12
parent 45 7545b1bc1514
permissions -rw-r--r--
more, including link

var FirstNum = 10;
var SecondNum = 5;

while FirstNum > SecondNum do
	print FirstNum;

	FirstNum = FirstNum - 1;
endwhile;

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