" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
uses crt;
var
tablica:array[1..100] of integer;
x:integer;
max:integer;
begin
clrscr;
max:=0;
randomize;
for x:=1 to 100 do
begin
tablica[x]:=random(100)+1;
if (tablica[x] > max) then
max:=tablica[x];
end;
writeln('Najwieksza liczba to: ',max);
readln;
end.