Program Kvadrat;
uses Graphabc;
begin
SetWindowWidth(800);
SetWindowHeight(800);
SetPenWidth(3);
Rectangle(200, 200, 500, 500);
Rectangle(230, 230, 470, 470);
Rectangle(260, 260, 440, 440);
Rectangle(290, 290, 410, 410);
Rectangle(320, 320, 380, 380);
SetBrushColor(clAqua);
FillRect(200, 200,500,500);
SetBrushColor(clBrown);
FillRect(230, 230,470,470);
FillRect(260, 260,440,440);
FillRect(290, 290,410,410);
FillRect(320, 320,380,380);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Program Kvadrat;
uses Graphabc;
begin
SetWindowWidth(800);
SetWindowHeight(800);
SetPenWidth(3);
Rectangle(200, 200, 500, 500);
Rectangle(230, 230, 470, 470);
Rectangle(260, 260, 440, 440);
Rectangle(290, 290, 410, 410);
Rectangle(320, 320, 380, 380);
SetBrushColor(clAqua);
FillRect(200, 200,500,500);
SetBrushColor(clBrown);
FillRect(230, 230,470,470);
SetBrushColor(clAqua);
FillRect(260, 260,440,440);
SetBrushColor(clBrown);
FillRect(290, 290,410,410);
SetBrushColor(clAqua);
FillRect(320, 320,380,380);
end.