Why is there braces around the return in the if-side, but not braces in the else-side?Code:if (accident== "yes" || accident== "Yes"){
return 1;
}
else
return 0;
--
Mats
Printable View
Why is there braces around the return in the if-side, but not braces in the else-side?Code:if (accident== "yes" || accident== "Yes"){
return 1;
}
else
return 0;
--
Mats