Var k, m, t : integer; Dat: array[1..10] of integer; Begin Dat[1] := 36; Dat[2] := 50; Dat[3] := 23; Dat[4] :=41;Dat[5] := 27; Dat[6] := 22;Dat[7] := 59; Dat[8] := 12; Dat[9] := 65; Dat[10] := 35; m := 0; for k := 1 to 10 do if Dat[k] >m then begin m := Dat[k]; t := kend; writeln('m = ',m, ' t= ',t) End.