Fahad/MCG-CS/Code/While.kcl
author Chengsong
Sat, 16 Apr 2022 09:52:57 +0100
changeset 491 48ce16d61e03
parent 45 7545b1bc1514
permissions -rw-r--r--
all done!!!!

var FirstNum = 10;
var SecondNum = 5;

while FirstNum > SecondNum do
	print FirstNum;

	FirstNum = FirstNum - 1;
endwhile;

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