Flow of Execution

Home/Flow of Execution
Flow of Execution 2018-03-22T14:05:23+00:00

Execution always begins at the first statement of the program. Statements are executed one after the other from top to bottom. Further, the way of execution of the program shall be categorized into three ways;

(i)sequence statements,

(ii) selection statements, and

(iii) iteration or looping statements. Sequence statements: In this program, all the instructions are executed one after another.
Example: Program to find area of the circle.

 

PiRuby is the perfect Tool to Discover Educational Content from Textbooks. Learning and Excellence Made Easy… Really Easy!