Question 4 • FL-8207310-Digital Information Technology B
An if statement checks whether a condition is true and runs the specified code when it is. Therefore, programmers use it when they want an event to occur once a condition is met. The choice about ending a program describes a different kind of instruction.
AI-written and checked against the verified answer.