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
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

Sign-up for our email newsletter and get free job alerts, current affairs and GK updates regularly.
Subscribe Here (or)

Leave a Reply

Your email address will not be published. Required fields are marked *

five + 2 =

Popup Dialog Box Powered By : XYZScripts.com
  • RSS
  • Facebook
  • Google+
  • Twitter