Var x: array [1..15] of real; m: real; i,k: integer; begin for i := 1 to 15 do read(x[i]); k := 0; m := x[1]; for i := 1 to 15 do begin if ( -0.5 < sin(x[i]) ) and ( sin(x[i]) <= 0 ) then k := k + 1; if x[i] < m then m := x[i]; end; writeln('quantity: ',k); writeln('min: ',m) end.
x: array [1..15] of real;
m: real;
i,k: integer;
begin
for i := 1 to 15 do
read(x[i]);
k := 0;
m := x[1];
for i := 1 to 15 do
begin
if ( -0.5 < sin(x[i]) ) and ( sin(x[i]) <= 0 ) then
k := k + 1;
if x[i] < m then
m := x[i];
end;
writeln('quantity: ',k);
writeln('min: ',m)
end.