CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 5(c)(i)
Write C code to store the even numbers from 2 (inclusive) to 40 (inclusive) in a file called "num.dat".
The mark scheme is shown once you've answered.
Practise this questionWrite C code to store the even numbers from 2 (inclusive) to 40 (inclusive) in a file called "num.dat".
The mark scheme is shown once you've answered.
Practise this questionMore practice: the rest of this paper · more Modular Programming and Data Structures questions · all CAPE Computer Science Unit 1 past papers