Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
плата вроде как, если не ошибаюсь
var x,y,x1,y1,x2,y2: integer;
begin
read(x,y,x1,y1,x2,y2);
if (x< x1) and (x> x2) and (y< y1) and (y> y2) then
writeln('da')
else writeln('net');
end.
var a: array[1..100] of integer;
i,s: integer;
randomize; n: =20; for i: = 1 to n do begin a[i]: =random(n*10)- 10*n div 2 ; write(a[i]: 4); if i mod 10=0 then writeln;
if a[i]> =0 then s: = s+a[i]; end;
for i: = 1 to n do begin
if a[i]< 0 then a[i]: =s;
write(a[i]: 4); if i mod 10=0 then writeln;
end;
read(n);
if (n> 99) and (n< 1000) then writeln('yes');
Популярные вопросы