CAPE Computer Science Unit 1 · 2010 · Paper 2 · Question 6(c)(iii)
Write a function which accepts a character, ch, and returns 1 if the character is present in the string 'CAPECOMPUTERSCIENCE', or 0 if ch is not present.
The mark scheme is shown once you've answered.
Practise this question