5. Найдите синтаксические ошибки в записи команд:(1). if 5 then S:=S+5;(2). if B then x:=y; else B:=x;(3). if x=y then x:=1; else x:=0;(4). if (A=B) and P then P:=P+12;(5). if (A(6). if P then P:='a=b';(7). if x>y then begin x:=y else x:=z end;(8). if C then A:=0 else C:=2;(9). if x="false" then write ("ложь") else x:=true;(10). if X or Y then begin write (Z) else write (T) end;