Берілгені : s=3, егер  X=Y, онда   s айнымалысына  X-тің мәнін меншікте:


1) s:=3; if x=y  then s:=x;

2) if x=y then s:=x; s:=3;

3) s:=3; if x>y then s:=x; if x<=y  then s:=1;

4) s:=3; if x=y  then write (x); if x< > y then  write  (y);

5) if x=y then write  (x) ; if x < > then write (y).