Maya is developing a computer program to manage inventory for her online bookstore.
Maya plans to construct her program using subprograms (functions and procedures) to make her code more modular.
One similarity between a function and a procedure is that they can both contain local variables.
State two other similarities between a function and a procedure.
33 exam-style questions on Edexcel IGCSE Computer Science Subprograms. Each one has a worked solution and a mark scheme showing where the marks go.