Mode:
Duration:
1
2
3
4
5
6
7
8
9
MODULE RandomGen;
IMPORT IO, SYSTEM;
VAR i, num: INTEGER;
BEGIN
FOR i := 1 TO 3 DO
num := SYSTEM.Random() MOD 100 + 1;
IO.Put("Random "); IO.PutInt(i,0); IO.Put(" : "); IO.PutInt(num,0); IO.PutLn();
END;
END RandomGen.Coding works best on desktop or with an external keyboard.