C Program to Draw a Circle Using C Graphics Write a program in C to draw a circle on screen using graphics.h header file. In this program, we will draw a circle on screen having centre at mid of the screen and radius of 80 pixels. We will use outtextxy and circle functions of graphics.h header file. Below is the detailed descriptions of.
Graphics.h library is used to include and facilitate graphical operations in program. Graphics.h functions can be used to draw different shapes, display text in different fonts, change colors and many more. Using functions of graphics.h you can make graphics programs, animations, projects and games. You can draw circles, lines, rectangles, bars and many other geometrical figures. You can change their colors using the available functions and fill them.Examples:For line 1, Input: x1 = 150, y1 = 150, x2 = 450, y2 = 150For line 2, Input: x1 = 150, y1 = 200, x2 = 450, y2 = 200For line 2, Input: x1 = 150, y1 = 250, x2 = 450, y2 = 250Output.