Created
September 1, 2019 03:20
-
-
Save heinthanth/e5735447a75325121bf040e3a221da80 to your computer and use it in GitHub Desktop.
if-elseif-else
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (condition1) { | |
// will execute if condition1 is true | |
} else if (condition2) { | |
// will execute if condition1 is false and condition is true | |
} else { | |
// will execute if both condition1 and condition2 are false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment