Advertisement
LordDimon

Untitled

Apr 24th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.19 KB | None | 0 0
  1. Program Pas;
  2. Var
  3.   x, y : real;
  4. Begin
  5.   write('Введите x - ');
  6.   readln(x);
  7.   if (x<0) then y:=x - x*x*x else
  8.   if (x<=3) then y:=x*x else y:=9;
  9.   writeln ('y = ', y);
  10.  
  11.     End.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement