var
y,x: real;
begin
read(x);
if x>=5 then
y:=sqr(x)+10
else
y:=-x+5;
write(y)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
y,x: real;
begin
read(x);
if x>=5 then
y:=sqr(x)+10
else
y:=-x+5;
write(y)
end.