Graphics
Graphics
Graphics
#include<graphics.h>
#include<conio.h>
main()
{
int gd = DETECT,gm,left=100,top=100,right=200,bottom=200,x= 300,y=150,radius=50;
getch();
closegraph();
return 0;
}
#include<graphics.h>
#include<conio.h>
#include<dos.h>
int main()
{
int gd = DETECT, gm, x, y, color, angle = 0;
struct arccoordstype a, b;
}
3.program to draw bar chart
#include<graphics.h>
#include<conio.h>
#include<dos.h>
int main()
{
int gd = DETECT, gm, x, y, color, angle = 0;
struct arccoordstype a, b;
getch();
closegraph();
return 0;
}
#include<conio.h>
main()
getch();
closegraph();
return 0;
#include<graphics.h>
int main(){
int gd = DETECT,gm;
int x ,y ,radius=80;
x = getmaxx()/2;
y = getmaxy()/2;
circle(x, y, radius);
closegraph();
return 0;