Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following best describes the purpose of a function in programming?
To loop through elements in a collection
To initialize variables in a program
To encapsulate reusable blocks of code
To store data in an organized way
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!