Programming (Year 12)
Control Structures
What is the purpose of the 'if' statement in programming?
To create loops
To execute code conditionally
To define a function
To declare a variable