program mi;
Var
n, ch, i, max:integer;
begin max:=1;
write('Введите кол-во чисел в последовательности -> ');
Readln(n);
writeln('Введите последовательность: ');
for i:=1 to n do
begin
write('-> ');
readln(ch);
if ch > max then max:=ch;
end;
writeln('Максимальное число: ', max);
end.
Нарисуйте блок
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.