program ideone;begin (* your code goes here *)end.
Program n_min; Var M:array [1..10] of integer; I, n_min: integer; Begin For I:= 1 to 10 do M[i]:= random(900)+100; N_min:=999; End; Begin For M[i]:4; For I:=2 to 10 do if M[i] < M[n_min] then n_min:=i; End; Writeln (‘M[‘,n_min,’]=‘,M[i]); End.
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!