Bài 1
Var a:array:[1..1000] of real;
i,n:integer;
max,min:real;
Begin
Write('n = ');readln(n);
For i:=1 to n do
Begin
Write('Nhap chieu cao ban thu ',i,' = ');readln(a[i]);
End;
max:=a[1];
min:=a[1];
For i:=2 to n do
begin
If a[i] > max then max:=a[i];
if a[i] < min then min:=a[i];
end;
writeln('Ban cao nhat la ',max:10:2);
write('Ban thap nhat la ',min:10:2);
Readln
End.