program Circle;uses Graph;
varradius: integer;gd, gm: smallint;begingd := Detect;InitGraph(gd, gm, '');
writeln('Enter the radius of the circle: ');readln(radius);
SetColor(15);Circle(GetMaxX div 2, GetMaxY div 2, radius);
readln;CloseGraph;end.
program Circle;
uses Graph;
var
radius: integer;
gd, gm: smallint;
begin
gd := Detect;
InitGraph(gd, gm, '');
writeln('Enter the radius of the circle: ');
readln(radius);
SetColor(15);
Circle(GetMaxX div 2, GetMaxY div 2, radius);
readln;
CloseGraph;
end.