2077 11

CSC115 ยท 2077 ยท 5 marks

Write a program to draw a circle using graphics function.

Write a program to draw a circle using graphics function. [5]

C ProgrammingChapter 11: Introduction to GraphicsGraphics Function

To draw a circle in C using graphics, we use the built-in circle() function from the graphics.h library. The program follows these steps: 1. Initialize the graphics driver and mode using initgraph() 2. Draw the circle using the circle() function 3. Set the color using setcolor() 4. Close the grap...