Дамп всех задач
This commit is contained in:
12
C++/v6oid/krugi/mygraph.h
Normal file
12
C++/v6oid/krugi/mygraph.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <graphics.h>
|
||||
#include <conio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void krugi ( int x, int y, int r, int c) {
|
||||
for(int i=r; i>6; i=i-5) {
|
||||
y=y+5;
|
||||
circle (x,y,i);
|
||||
setfillstyle(1, c);
|
||||
floodfill(x,y,15);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user