What is the purpose of the repeat loop from the following?
var.........
begin
...
for k:=1 to 6 do
begin
repeat
n:=random(40);
until a[n]=0;
a[n]:=1
end;
...
end.
收錄日期: 2021-04-23 19:19:32
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061219000051KK04593