Structure determines if a statement (or a block statement) that
will be executed if and only if the requirements of boolean (boolean statement) is true.
Shape if the first line of the statement,
if (boolean_expression)
statement;
The form if more than one line statement,
if (boolean_expression) {
statement1;
statement2;
}
will be executed if and only if the requirements of boolean (boolean statement) is true.
Shape if the first line of the statement,
if (boolean_expression)
statement;
The form if more than one line statement,
if (boolean_expression) {
statement1;
statement2;
}
0 komentar:
Posting Komentar