Computer Science, asked by abhi2256, 9 months ago

c program for print çircle​

Answers

Answered by abinaya2999
0

Answer:

please mark me as brainliest answer

Attachments:
Answered by shreyasdeshpande424
1

Answer:

// C Implementation for drawing circle

#include <graphics.h>

  

//driver code

int main()

{

    // gm is Graphics mode which is

    // a computer display mode that

    // generates image using pixels.

    // DETECT is a macro defined in

    // "graphics.h" header file

    int gd = DETECT, gm;

  

    // initgraph initializes the

    // graphics system by loading a

    // graphics driver from disk

    initgraph(&gd, &gm, "");

  

    // circle fuction

    circle(250, 200, 50);

  

    getch();

  

    // closegraph function closes the

    // graphics mode and deallocates

    // all memory allocated by

    // graphics system .

    closegraph();

  

    return 0;

}

Similar questions