Created
January 19, 2020 09:55
-
-
Save umair13adil/e6e814a6c5fab692e0519bc77ece3f10 to your computer and use it in GitHub Desktop.
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
void main() { | |
void my_function(String a1, int a2){ | |
print("This is my function! $a1 $a2"); | |
} | |
my_function("String 1", 1); | |
my_function("String 2", 2); | |
my_function("String 3", 3); | |
int calculate(int a, int b){ | |
return a + b; | |
} | |
print("Add 2 + 2: ${calculate(2,2)}"); | |
print("Add 99 + 1: ${calculate(99,1)}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment