0

If ( age >14){if (age >=18) why is this double if statement is used?

10th Nov 2016, 1:19 PM
Bomte Gapak
Bomte Gapak - avatar
4 Answers
0
If ( age >14) { if (age >=18) { //something } else { //person is older then 14 but not 18 yet } }
24th Dec 2016, 10:37 AM
Eng-malek Alsadat
Eng-malek Alsadat - avatar
0
to include the age of 18 also
1st Jan 2017, 7:23 PM
shiv kumar
shiv kumar - avatar
0
to include the age of 18 also
1st Jan 2017, 7:23 PM
shiv kumar
shiv kumar - avatar