Int main{ initwindow(640, 640); setbkcolor(15); cleardevice; setfillstyle(1, 9); setcolor


Download 29.21 Kb.
Sana20.12.2022
Hajmi29.21 Kb.
#1039101
Bog'liq
QURBAQA


#include
#include
using namespace std;
int main(){
initwindow(640, 640);
setbkcolor(15);
cleardevice();
setfillstyle(1, 9);
setcolor(0);
circle(200, 200, 40);
floodfill(200, 200, 0);
circle(420, 200, 40);
floodfill(420, 200, 0);
line(240, 200, 380, 200);
moveto(240, 200);
lineto(310, 160);
lineto(380, 200);
lineto(310, 240);
lineto(240, 200);
setfillstyle(1, 2);
floodfill(310, 180, 0);
setfillstyle(1, 4);
floodfill(310, 220, 0);
setcolor(0);
outtextxy(295, 250, "Qurbaqa");
getch();
closegraph();
return 0;
}

Download 29.21 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling