Album sobre lenguaje C Language C Album | Page 7

Propositions for the control of program flow 1.- PROPOSITION IF - ELSE This statement is used to execute certain program statements, if an expression is TRUE or another group of sentences, if it is FALSE. Its literal interpretation would be: IF it is SOME thing, do another, if it is not skipped. 2.- SWITCH PROPOSITION The SWITCH is a simple way to avoid long, tedious and confusing nesting of ELSE-IF. Suppose we are implementing a Menu, with several possible choices.