conditionaloperation

noun
UK /kənˈdɪʃənl ˌɒpəˈreɪʃn/
US /kənˈdɪʃənl ˌɑːpəˈreɪʃn/

A conditional operation is a step that only happens if something else is true.

The program uses a conditional operation to check if the number is even before printing it.


OTHER MEANINGS

2. In computing, an instruction that runs only when a specified condition is met.

The conditional operation skips the loop when the counter reaches zero.

3. In mathematics, an operation whose result depends on whether a given condition holds.

The conditional operation returns one value if x is positive and another if it is negative.

4. In everyday planning, an action that is carried out only if a certain situation occurs.

Bringing an umbrella is a conditional operation based on the weather forecast.