Control Flow, Looping, and Branching
Control flow, looping, and branching are fundamental concepts in all programming. Control flow consists of running different code under different conditions. Looping consists of running the same code (though often with different values or different objects each time) until some condition has been met. Branching consists of doing something else when some condition has been detected. The thread that ties them all together is detecting conditions.
KeywordsControl Flow Initialization Variable Break Statement Return Statement Switch Statement
Unable to display preview. Download preview PDF.