411 REFERENCE · Wikibooks
Programming Basics/Conditions
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Conditions are used in programming to only do something in the event of something else. This is incredibly useful in a number of tasks.
For example, one might prevent divide by zero errors by check to make sure the devisor is not zero first, and then only dividing if the devisor is not zero.
0%