Advertisement
Alex_Fomin

Untitled

Nov 14th, 2015
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.35 KB | None | 0 0
  1. var a,b,x:real;
  2. Begin
  3. Write('Введите число A: '); Readln(A);
  4. Write('Введите число B: '); Readln(B);
  5. if A > B then X:=B*A+1
  6.          else if A = B then X:=-10
  7.                        else if (A < B) and (B <> 0) then X:=(A-5)/B
  8.                                                     else Writeln('Решений нет :(');
  9. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement