CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 4(c)
Trace through the execution of the provided algorithm and draw the output exactly as generated, noting the definitions of printSpaces, print, and println.
The mark scheme is shown once you've answered.
Practise this question