Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<cstdlib>
- #include<iostream>
- #include<winbgim.h>
- #include<iomanip>
- using namespace std;
- int main()
- {
- int gdriver=9;
- int gmode=2;
- initgraph(&gdriver,&gmode,"");
- setbkcolor(MAGENTA);
- setcolor(YELLOW);
- cleardevice();
- for (int y=0;y<=480;y+=20)
- {
- for (int x=0;x<=720;x+=20)
- {
- circle(x,y,20);
- }
- }
- getch();
- closegraph();
- return 0;
- }
Add Comment
Please, Sign In to add comment