Enrolment No.:201703100910003
Practical 2 Aim: Home Code: #include<stdio.h> #include int main() { int gd=DETECT,gm; initgraph(&gd,&gm,NULL); outtextxy(300,40,"Raj Bhensdadiya"); setcolor(6); line(100,450,500,450); line(100,350,500,350); line(100,350,100,450); line(500,350,500,450); line(200,350,200,450); line(100,350,150,250); line(200,350,150,250); line(150,250,450,250); line(500,350,450,250); line(135,400,135,450); line(165,400,165,450); line(135,400,165,400); setcolor(7); circle(150,310,20); delay(10000); closegraph(); return 0; }
Output:
CGPIT/CE/SEM-4/Computer Graphics
Enrolment No.:201703100910003
CGPIT/CE/SEM-4/Computer Graphics