1) Cercuri concentrice
#include<graphics.h>2) Elipsa
#include<iostream>
using namespace std;
int main()
{ int i;
initwindow(800,600);
for(i=300;i>=10;i=i-10)
{setcolor(rand()%16);
circle (300,300,i);
delay(43);}
getch();
}
#include<graphics.h>3) Desen
#include<iostream>
using namespace std;
int main()
{ int i;
initwindow(1200,1024);
ellipse(500,500,69,256,200,300);
getch();
}
#include<graphics.h>
#include<iostream>
using namespace std;
int main()
{ int i,j,k,p;
initwindow(1200,1024);
circle(100,100,100);
setfillstyle(WIDE_DOT_FILL,3);
fillellipse(600,100,300,100);
rectangle(20,250,300,750);
setfillstyle(WIDE_DOT_FILL,3);
bar(400,300,1000,500);
getch();
}