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.
Program yeah; var a,b,c,d,n:integer; begin writeln('введите число.(0-юноша,1-девушка).'); readln(n); if n=0 then begin writeln('введите вес'); readln(a); writeln('введите рост'); readln(b); if b=110 then begin if a<=b then writeln('юноша принят.'); end; if a>b then writeln('не подходит по весу.'); if b<>110 then writeln('не подходит по росту.'); end; if n=1 then begin writeln('введите вес'); readln(a); writeln('введите рост'); readln(b); if b=115 then begin if a<=b then writeln('девушка принята.'); end; if a>b then writeln('не подходит по весу.'); if b<>115 then writeln('не подходит по росту.'); end; end.
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.