when do programmers use if conditional statements?\nwhen they want a certain event to occur when a condition…

when do programmers use if conditional statements?\nwhen they want a certain event to occur when a condition is met\nwhen they want to restrict an action from occurring when a condition is met\nwhen they want a certain event to occur when a condition is not met\nwhen they want to end a program
Answer
Brief Explanations:
If - conditional statements in programming are used to execute a block of code when a specified condition evaluates to true. That is, they are used when a programmer wants a certain event to occur when a condition is met.
Answer:
when they want a certain event to occur when a condition is met