Login or Create an Account to view the mark scheme, comment, and add to a test
Given a full array of random numbers of size 200 called NUMBERS, search for the first occurrence of the value 7 and output its position in the array. If a 7 does not exist in the array, output "NOT FOUND". Your procedure should be efficient, that is, it should not compare more values than necessary to achieve correct output.
[6]

Short Answer6 MarksPremium
21 Uses53 Views0 Likes