Var sinx,cosx:real; begin; writeln('Введите sin:'); readln(sinx); writeln('Введите cos:'); readln(cosx); if (sin(sinx)>0) and (cos(cosx)>0) then writeln('1'); if (sin(sinx)>0) and (cos(cosx)<0) then writeln('2'); if (sin(sinx)<0) and (cos(cosx)<0) then writeln('3'); if (sin(sinx)<0) and (cos(cosx)>0) then writeln('4'); end.
Это таблица истиности над В черточка v C ^ над А черточка v-"или это сложение ^ это умножение над Х бувкой четрточка это другое число если 0 то 1 если 1 то 0 или это "не" а б с над В чёрточка над А чёрточка не В или с не в или с и не а 0 0 0 1 1 1 1 0 0 1 1 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 1 1 0 0 1 0 1 0 1 0 1 1 0 1 0 1 1 0 0 0 1 0 1 1 1 0 0 1 0 ответ пиши короче f(A,B,C)=не В или С и не А =не А
begin;
writeln('Введите sin:');
readln(sinx);
writeln('Введите cos:');
readln(cosx);
if (sin(sinx)>0) and (cos(cosx)>0) then writeln('1');
if (sin(sinx)>0) and (cos(cosx)<0) then writeln('2');
if (sin(sinx)<0) and (cos(cosx)<0) then writeln('3');
if (sin(sinx)<0) and (cos(cosx)>0) then writeln('4');
end.