PPT Slide
Basic statements
Control Constructs
There are three ways to change the normal execution sequence
1) Branch structure:
If
statement
2) Loop structure:
do
statement
3) Procedure reference:
statement
procedure
Assignment
Average = (X + Y) / 2.0
(X+Y)/2.0
1.234
5.678
3.456
Average
Y
X
Previous slide
Next slide
Back to first slide
View graphic version