CAPE Computer Science Unit 2 · 2016 · Paper 2 · Question 2(b)(iii)
Write C code to prompt the user for an integer `key` and use linear search to find it in `number`. Print the location of `key` if found; otherwise, print 'Key Not found'.
The mark scheme is shown once you've answered.
Practise this question