Computer Science for IGCSE & O level - Programming (Section 5 - No. 39)
When should you use a procedure instead of writing the same code repeatedly?
When the code performs a specific task that needs to be done multiple times.
When the code involves simple calculations.
When the code is only used once in the program.
When you want to make the code more difficult to understand.
Explanation
Procedures allow code reuse and improve organization when performing the same task multiple times.
Comments (0)
