Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 6 - No. 36)

What is the purpose of a 'function' or 'procedure' in programming?
To store data.
To represent a data type.
To perform a specific task or calculation.
To organize the code.

Explanation

Functions are created to perform specific tasks.

Comments (0)

Advertisement