Programming (12th Grade)

Control Structures

What is the primary purpose of an 'if' statement in programming?