Personally I prefer the brackets syntax:
if (condition) {
code to be executed if condition is true;
} else {
code to be executed if condition is false;
}
Personally I prefer the brackets syntax:
if (condition) {
code to be executed if condition is true;
} else {
code to be executed if condition is false;
}