10 marksSearching and Sorting Algorithms
CAPE Computer Science Unit 2 · 2012 · Paper 2 · Question 2(a)
Write C code that takes two integers, lower and upper (where lower < upper), and counts and prints the number of marks in an unsorted array of 100 student marks between lower and upper inclusive, printing an error message if none are found.
The mark scheme is shown once you've answered.
Practise this question