#include<graphics.h>
#include<conio.h>int main(){ int gd = DETECT,gm; initgraph(&gd, &gm, "X:\\TC\\BGI"); setcolor(WHITE); rectangle(150,180,250,300); rectangle(250,180,420,300); rectangle(180,250,220,300); line(200,100,150,180); line(200,100,250,180); line(200,100,370,100); line(370,100,420,180); setfillstyle(SOLID_FILL, RED); floodfill(152, 182, YELLOW); floodfill(252, 182, YELLOW); setfillstyle(SLASH_FILL, GREEN); floodfill(182, 252, GRAY); setfillstyle(HATCH_FILL, PINK); floodfill(200, 105, WHITE); floodfill(210, 105, WHITE); getch(); closegraph(); return 0;}
OUTPUT
26 Comments
Wow looking
ReplyDeleteWonderful
Mind-blowing
ReplyDeleteomg
ReplyDeleteSuperb
ReplyDeleteCreative Mind
ReplyDeleteoutstanding
ReplyDeletewonderful
ReplyDeleteGreat 😊😊😊😊😊😊😊yaar
ReplyDeleteVery Attractive
ReplyDeletefair & Beautiful
ReplyDelete100%
ReplyDeletewonderful
ReplyDeletegreat job man 👨
ReplyDeletewoo I will share it
ReplyDeletec ute
ReplyDeleteosm
ReplyDeletewoo-hhoooo
ReplyDeleteexcellent
ReplyDeleteNice
ReplyDeleteKallu
Fantastic
ReplyDeleteWow Wow Wow Wow Wow
ReplyDeleteKallu
ReplyDeleteWelldone
Wow Great C Programming
ReplyDeletenice car
ReplyDeleteWow Wow Wow
ReplyDeleteAmazing creation
ReplyDelete