Electrical and Computer Engineering
1 of 31
UAH
CPE 112
Additional Control Structures
•The switch statement – an alternative for multiway branches.
•The do-while statement – an alternative for looping.
•The for statement – another alternative for looping.
•The break and continue statements – break and continue are to a control structure as return is to a function.