var x,y:integer;
begin
writeln('Введите значение x: ');
readln(x);
if x<0 then
writeln('y = ',x+1)
else
if x>0 then
writeln('y = ',x-2);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.