0

Can anyone explain this{ if (age > 14)} Why mentioned this????!

22nd Sep 2016, 6:53 PM
Ahmed
3 Respostas
+ 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.
22nd Sep 2016, 8:11 PM
Zen
Zen - avatar
0
if age is greater than 14 and this code is in a code block
22nd Sep 2016, 8:12 PM
zedan gaugon rudebuie (zidan)
zedan gaugon rudebuie (zidan) - avatar
0
then it won't run and you will get a blank output
23rd Sep 2016, 11:51 AM
Shrinivas Deshpande
Shrinivas Deshpande - avatar