Advertisement
gorbunova27

Untitled

Jun 10th, 2021
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.28 KB | None | 0 0
  1.      
  2. var
  3.   d1,d2,d3,d4,d5,d6 : longint;
  4.   s1,s2,s3,s4,s5,s6 : string;
  5.   c1,c2,c3,c4,c5,c6 : char;
  6. begin
  7.   readln(d1);
  8.   readln(d2);
  9.   readln(d3);
  10.   readln(d4);
  11.   writeln(d4,'-',d1,'=',d4-d1);
  12.   writeln(d3,'-',d2,'=',d3-d2);
  13.   writeln(d3-d2,'+',d4-d1,'=',d2+d4-d1);
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement