составить разветвл алгоритмы y = { cos x, x>0 { sin x, x ≤ 0
var x, y: real; begin read(x); if x>0 then y:=cos(x) else y:=sin(x); write(y); end.