0
Can anyone explain this{ if (age > 14)} Why mentioned this????!
3 Respuestas
+ 2
if (condition) {
//code to execute if the condition is true
} else {
//code to execute if the condition is false
}
"if (age > 14)" means that the code inside the next block will only be executed if age is strictly greater than 14.
0
if age is greater than 14 and this code is in a code block
0
then it won't run and you will get a blank output