Conditional Statement -- If
Conditional statements allows a choice of a command based on some condition// Store the maximum of x and y in zz = x;if (y > x) z = y;
Syntax: if (boolean expression) statement
Previous slide
Next slide
Back to first slide
View graphic version