Хочу,чтобы зелёный,жёлтый красный повторилось 20 раз,но почему-то не получается.В чём проблема? ___________________________________________________________________
uses crt;
var
a,b,c,d:LongInt;
begin
for b:=1 to 20 do;
begin
textcolor(green);
for b:=1 to 200000 do
begin
randomize;
a:=random (50000);
write(a);
end;
for b:=1 to 200000 do
begin
textcolor(yellow);
c:=random (50000);
write(c)
end;
for b:=1 to 200000 do
begin
textcolor(red);
d:=random (50000);
write(d)
end;
end;
end.
__________________________________________________________________
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.