5.5.2 Nested If..else
If (condition1) { Code to be executed if condition 1 is true } else if (condition2) { Code to be executed of condition 2 is true } else { Code to be executed if condition 1 and condition 2 are not true }
• If there is several levels of indentation, each level should be indented the same additional amount of space
Related Posts:
Sign-up for our email newsletter and get free job alerts, current affairs and GK updates regularly.
Subscribe Here (or)
Subscribe Here (or)
Comments RSS Feed
Leave a Reply