Advertisement
Sasha_Gabov

Untitled

Apr 6th, 2024
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.23 KB | None | 0 0
  1. var
  2.   a : array [1..100] of longint;
  3.   i, n, sum, k, max : longint;
  4. begin
  5.   for i:=1 to 10 do
  6.     readln(a[i]);
  7.   max:=a[1];
  8.   for i:=2 to 10 do
  9.     if a[i]>max then
  10.       max:=a[i];
  11.   writeln(max);
  12.   writeln(nom);
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement