Var n:real; begin writeln('n = '); readln(n); if n>0 then writeln('sqrt(n)=',sqrt(n)); if n<0 then writeln('n^2=',sqr(n));<br> readln; end.