define control flow statement and their types?
Answers
Answered by
1
The statements inside your source files are generally executed from top to bottom, in the order that they appear. Control flow statements, however,break up the flow of execution by employing decision making, looping, and branching, enabling your program to conditionally execute particular blocks of code.Control-Flow Statements
Statement TypeKeywordloopingwhile , do-while , fordecision makingif-else , switch-caseexception handlingtry-catch-finally , throwbranchingbreak , continue , label: , return
Statement TypeKeywordloopingwhile , do-while , fordecision makingif-else , switch-caseexception handlingtry-catch-finally , throwbranchingbreak , continue , label: , return
Answered by
8
hey mate here is your answer...
in computer science ,control flow is the order in which individual statements ,instructions or functions calls of an imperative programs are executed or evaluted..it is often necessary to control the sequence of operations in a programme .this can be done by using control statements .the main types of control statements are for ,while ,if and case...
hope it may help you
samrudhi126:
oooo
Similar questions