Programmingbeginner1 min read

Conditional

N/A

条件语句

Conditional · N/A · 条件语句 · kun-DISH-uh-nul · if statement · branching · Programming · basics · control-flow · fundamentalsProgrammingif statement branching

/kun-DISH-uh-nul/

Also known as: if statement, branching

Last updated August 9, 2026

Definition

A conditional (like if/else) lets a program choose different actions depending on whether a condition is true or false.

Real-World Example

If battery < 20%, show a low-power warning; else continue normally.

References

discuss://translation · public

Translation discussion

Anyone can read and write here. Pick a display name — no email or account. Please keep the thread constructive. Thumb up a rendering you agree with — that helps the editor see consensus; it does not publish the term by itself. You can edit or delete your own comments from this browser; another device or cleared site data cannot.

Community lists who wrote, on which term, and when.

Loading discussion…