Hello to all. Help solve the puzzle.
#include<stdio.h> #include<conio.h> #include<graphics.h> #include<stdlib.h> #define path"C:\\TEMP\\BGI" main() { int gb = DETECT, gm, i, x, y, r, n, c, c1, x1, x2, y1, y2.intgraph(&gb, &gm, path); for (i = 0; i <= 40; i++) { x = rand() % 460; y = rand() % 300; r = rand() % 50; n = rand() % 120; c = rand() % 15; setfillstyle(n, c); c1 = c + 1; setcolor(c1); circle(x, y, r); floodfill(x, y, c11) } getch(); closegraph(); }
It is necessary that this program builds a salute with rectangles with arbitrary text inside. I have been racking my brain for 3 hours, I can’t figure out anything, help please, who knows.