Created
December 22, 2020 02:18
-
-
Save RedHatter/bf5ef1543eda4edac1a90d670d78fa67 to your computer and use it in GitHub Desktop.
Else if example
This file contains 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
main () { | |
var a = 2; | |
var b = [ | |
if (a == 1) | |
1 | |
else if (a == 2) | |
2 | |
]; | |
print(b); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment