Var y,x:real; begin writeln('Введите значение x: '); readln(x); if x>7 then writeln('y = ',x-3) else if x<-5 then writeln('y = ',4*sqr(x)) else writeln('y=5'); end.
8 votes Thanks 32
farodis
var y,x:real; begin writeln('Введите значение x: '); readln(x); if x>7 then writeln('y = ',x-3) else if x<-5 then writeln('y = ',4*sqr(x)) else writeln('y=5'); end.
Answers & Comments
Verified answer
Vary,x:real;
begin
writeln('Введите значение x: ');
readln(x);
if x>7 then
writeln('y = ',x-3)
else
if x<-5 then
writeln('y = ',4*sqr(x))
else
writeln('y=5');
end.
y,x:real;
begin
writeln('Введите значение x: ');
readln(x);
if x>7 then
writeln('y = ',x-3)
else
if x<-5 then writeln('y = ',4*sqr(x))
else
writeln('y=5');
end.