fork download
  1. program ideone;
  2. begin
  3. (* your code goes here *)
  4. end.
Success #stdin #stdout 0.01s 5288KB
stdin
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;
For I:=2 to 10 do if M[i] < M[n_min] then n_min:=i;
Writeln (‘M[‘,n_min,’]=‘,M[i]);
End.
stdout
Standard output is empty