Егер X=Y, онда баспаға X беру керек, әйтпесе Y-ті баспаға шығар:
1
if x >y then ans :=x; if x<= y then ans:= 1;
2
if x=y then write (x); if x < > y then write (y);
3
if x>y then max :=x; if x <=y then max :=y ; writeln (max);
4
Дұрыс жауабы жоқ;
5
if x < > y then write (x); if x=y then write.