Below is the source code for C Program to Draw Eclipse using Graphics which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
/* C Program to Draw Eclipses using Graphics */
#include<graphics.h>
#include<conio.h>
main() {
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
ellipse(100, 100, 0, 360, 50, 25);
getch();
closegraph();
return 0;
}
Above is the source code for C Program to Draw Eclipses using Graphics which is successfully compiled and run on Windows System.The Output of the program is shown above .
Below is the source code for C Program to Draw Eclipse using Graphics which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
Above is the source code for C Program to Draw Eclipses using Graphics which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer