#include <graphics.h>
int main() {
int gd = DETECT, gm;
initgraph(&gd, &gm, NULL);
line(100, 200, 300, 200);
line(100, 200, 200, 100);
line(200, 100, 300, 200);
delay(5000);
closegraph();
return 0;
}
#include <graphics.h>
int main() {
int gd = DETECT, gm;
initgraph(&gd, &gm, NULL);
line(100, 200, 300, 200);
line(100, 200, 200, 100);
line(200, 100, 300, 200);
delay(5000);
closegraph();
return 0;
}