-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathKBC.CPP
58 lines (56 loc) · 1.3 KB
/
KBC.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include<iostream.h>
#include<process.h>
#include<conio.h>
#include<stdio.h>
#include<iomanip.h>
#include<graphics.h>
#include<dos.h>
#include<stdlib.h>
#include"WELCOMEPAGE.CPP"
#include"QU.CPP"
#include"QNO.CPP"
#include"CODING.CPP"
void welcomepage();
void question();
main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"");
int maxx=getmaxx();
int maxy=getmaxy();
setbkcolor(BLUE);
setcolor(WHITE);
circle(300,230,100);
circle(300,230,70);
setfillstyle(8,8);
floodfill(380,310,15);
setfillstyle(3,9);
floodfill(371,230,15);
setfillstyle(7,9);
floodfill(372,230,15);
setfillstyle(10,3);
floodfill(300,230,15);
setcolor(WHITE);
ellipse(335,230,0,360,35,4);
ellipse(300,265,270,269,4,35);
ellipse(265,230,0,360,35,4);
ellipse(300,195,270,269,4,35);
settextstyle(1, HORIZ_DIR,6);
outtextxy(175,195,"CROREPATI");
settextstyle(3, HORIZ_DIR,3);
outtextxy(225,132,"KAUN BANEGA");
outtextxy(260,295,"TECHNO");
setcolor(RED);
rectangle(10,10,maxx-10,maxy-10);
rectangle(15,15,maxx-15,maxy-15);
settextstyle(5,HORIZ_DIR,1);
settextstyle(5,1,1);
outtextxy(20,20,"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
outtextxy(maxx-48,20,"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^");
getch();
cleardevice();
welcomepage();
cleardevice();
question();
closegraph();
}