主题:随机函数用法
var a:array [1..4] of integer;
var b,c:integer;
begin
for b:=1 to 4 do
a[b]:=random(9);
for b:=1 to 4 do
write (a[b] );
writeln;
end.
随机函数怎么用?
我狂试都是0071
急啊
var b,c:integer;
begin
for b:=1 to 4 do
a[b]:=random(9);
for b:=1 to 4 do
write (a[b] );
writeln;
end.
随机函数怎么用?
我狂试都是0071
急啊