program max_elementarray ;
var i, max : integer ;
a : array [1..10] of integer;
begin
for i : = 1 to 10 do
begin
readln(a[i]);
end;
max : = a[1];
for i : = 2 to 10 do
if a[i]> max then max : = a[i];
writeln('max element of array = ',max) ;
readln ;
end.
i'm going to read a lot of books this year. я собираюсь прочесть много книг в этом году.
we hope you will solve all your problems soon. мы надеемся, что вскоре ты решишь все свои проблемы.
when everyone took their places my grandmother said "well, now listen to stories". когда все заняли свои места, моя бабушка сказала: "ну, теперь послушайте ".
i will try to answer all your questions. я постараюсь ответить на все твои вопросы.
we're going to discuss this buisness plan with our partners. мы собираемся обсудить этот бизнес-план с нашими партнёрами.
x,a,b,c,max,min,mid:real;
begin
readln(x);
a:=sin(x);
b:=cos(x);
if a>0 then
begin
c:=ln(x);
if (a>b) and (a>c) then max:=a else
if (b>a) and (b>c) then max:=b else max:=c;
if (a<b) and (a<c) then min:=a else
if (b<a) and (b<c) then min:=b else min:=c;
if (a>min) and (a<max) then mid:=a else
if (b>min) and (b<max) then mid:=b else mid:=c;
writeln(min,' ',mid,' ',max);
end
else
if a>b then writeln(b,' ',a) else writeln(a,' ',b);
end.