A local variable called totalPrice has been used in the subroutine calculateTax.
Explain what is meant by a local variable
[1]
Markscheme
Structured programming and subroutines (procedures and functions) Questions
131 exam-style questions on AQA GCSE Computer Science Structured programming and subroutines (procedures and functions). Each one has a worked solution and a mark scheme showing where the marks go.