var
n, i: integer;
begin
var a: array[1..10] of integer := (10, 50, 1, 3, 50, 14, 21, 50, 10, 21);
i := 0;
repeat
i += 1;
if a[i] = 50 then Writeln(i)
until (i >= 10);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
n, i: integer;
begin
var a: array[1..10] of integer := (10, 50, 1, 3, 50, 14, 21, 50, 10, 21);
i := 0;
repeat
i += 1;
if a[i] = 50 then Writeln(i)
until (i >= 10);
end.