Draw Line , Rectangle ,Circle


            #include<stdio.h>
            #include<conio.h>
            #include<graphics.h>
        
            main()
            {
                int gd = DETECT, gm;
                initgraph(&gd, &gm, "c:\\turboc3\\bgi");
                setcolor(1);
        
                circle(400, 150, 30);
                setcolor(7);
        
                line(300, 200, 300, 450);
                line(150, 200, 50, 200);
                setcolor(15);
        
                rectangle(500, 100, 300, 200);
                getch();
            }
        

Output: