Нельзя преобразовать тип integer к char. как это исправить? var f, l, r, s : char; a, b : integer; begin a : =0; b : =0; f : =1; l : =0; r : =0; s : =0; assign(input,'input.txt'); reset(input); assign(output,'output.txt'); rewrite(output); read(f,l,r,s); if f then begin a : =a+f end; if l then begin b : =b+l end; if r then begin b : =b-r end; if s then begin a : =a+s; b : =b+s end; write(a,b); end.