int function SequentialSearch (Array A , int Lb , int Ub , int Key );
begin
for i = Lb to Ub do
if A [ i ] = Key then
return i ;
return –1;
end;
Post a Comment
No comments:
Post a Comment