-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1729017 CG-S20-A-a1.cpp
29 lines (28 loc) · 1014 Bytes
/
1729017 CG-S20-A-a1.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 1729017 B. Anitya Aniruddha [LabExamSpring 2020 || Set-A || (a)-1]
#include <graphics.h>
int main()
{
int gd = DETECT, gm;
initgraph (&gd, &gm, " ");
circle (200, 200, 100);//round face
ellipse (170, 170, 0, 180, 15, 5);//left eye
ellipse (170, 170, 0, 180, 15, 6);
ellipse (170, 170, 0, 180, 15, 7);
ellipse (170, 170, 0, 180, 15, 8);
ellipse (170, 170, 0, 180, 15, 9);
ellipse (170, 170, 0, 180, 15, 10);
setfillstyle (SOLID_FILL, WHITE);
ellipse (230, 170, 180, 180, 15, 25);//right eye
floodfill (240, 170, 15);
ellipse (200, 200, 185, 320, 60, 60);//lips
ellipse (200, 200, 185, 320, 60, 61);
ellipse (200, 200, 185, 320, 60, 62);
ellipse (200, 200, 185, 320, 60, 63);
ellipse (200, 200, 185, 320, 60, 64);
ellipse (200, 200, 185, 320, 60, 65);
ellipse (200, 200, 185, 320, 60, 66);
ellipse (200, 200, 185, 320, 60, 67);
ellipse (200, 200, 185, 320, 60, 68);
getch();
closegraph();
}