var
i, max:integer;
c: array[1..10] of integer;
begin
for i:=1 to 10 do
read(c[i]);
max:=c[1];
for i:=2 to 10 do
if (c[i]>max) then max:=c[i];
write(max);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
i, max:integer;
c: array[1..10] of integer;
begin
for i:=1 to 10 do
read(c[i]);
max:=c[1];
for i:=2 to 10 do
if (c[i]>max) then max:=c[i];
write(max);
end.