Created
March 6, 2022 05:49
-
-
Save antonprafanto/2814915f00618ffcbe52f61923a0490b to your computer and use it in GitHub Desktop.
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
void main() { | |
var num = 2; | |
if(num > 0) { | |
print("${num} is positive"); | |
} | |
else if(num < 0) { | |
print("${num} is negative"); | |
} else { | |
print("${num} is neither positive nor negative"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment