program formula;
var x:real;
begin
read(x);
if x > 0 then
write(sqr(x)*x/3)
else
write(sqr(x)+1)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
program formula;
var x:real;
begin
read(x);
if x > 0 then
write(sqr(x)*x/3)
else
write(sqr(x)+1)
end.