Plot Circle by uru

var i,n:comp;s,t:string;begin
read(n);for i:=-n to n do begin
s:=s+'*****';str(s:trunc(sqrt(n*n-i*i)),t);writeln(t:n,'*',t:-n)end;end.

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page