CAPE Computer Science Unit 2 · 2015 · Paper 2 · Question 2(c)(i)
An array named numbers of size 50 is loaded with 50 integers sorted in ascending order.
Write code to obtain the value of an integer, target, from the user.
The mark scheme is shown once you've answered.
Practise this question