CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 3(c)(i)
A primary school surveys 150 students on their favourite colours among red, blue, green, or none. All votes are valid.
Write an algorithm to find and print the number of students that voted for EACH of the colours: red, blue, green.
The mark scheme is shown once you've answered.
Practise this question