DOSBox 0.74, Cpu speed: 3000 cycles, Frameskip 0, Program: TURBO
NONńMEOO.PńS = ZńD_12.PńS =
=[■] Zń|02jPńS —
clrscr; randomize; for i:=1 to n do for j:=l to n do tabti,j]:=random(191)+10; for i:=1 to n do for j:=l tu n do begin
if tabti,j]>max then begin
max:=tabCi,j];
x: = i; y:=j;
end;
i f C i mod 2 <>0) then suma:=suma+tab[i,j]; end;
uriteln('element max',max/zna jdu je sie na pozycji
uritelnC'suma:J,suma);
readln;
FI Heln F2 Saue F3 Onen ńlt+F9 ComDile F9 Make ńlt+FlO Local menu