6.02: Branching, Conditionals, and Iteration
Description
In general if statements are executing sequentially in the order which they appear, then there will be no problem. In practice , we have a number of situations where we may have to change the order of execution based on certain conditions or repeat a group of statements until certain specified conditions are met. Hence , each programming language must possesses such decision making capabilities by supporting some statements such as IF, Switch, Goto, Whie-Do,Do-While, for statement ..etc.
"Prof. Eric Grimson& Prof. John Guttag, 2: Branching, Conditionals, and Iteration : 6.00 Introduction to Computer Science and Programming,
Massachusetts Institute of Technology: MIT penCourseWare),http://ocw.mit.edu (11-11-2011). License: Creative Commons BY-NC-SA: http://ocw.mit.edu/terms/#cc"
Presentation Transcript
Your Facebook Friends on WizIQ