Created
January 13, 2020 15:05
-
-
Save umair13adil/8b12f8803afa8ddb5a720fe263da1af2 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() { | |
var c1 = 89; | |
var c2 = 50; | |
print("Addition Result: ${c1+c2}"); | |
print("Subtraction Result: ${c1-c2}"); | |
print("Multiplication Result: ${c1*c2}"); | |
print("Division Result: ${c1/c2}"); | |
var c3 = 1; | |
print("Counter Result: ${c3 = c3+ 1}"); | |
print("Counter Result: ${c3 = c3+ 1}"); | |
print("Counter Result: ${c3 = c3+ 1}"); | |
print("Counter Result: ${c3 = c3+ 1}"); | |
print("PreFix Counter Result: ${c3 = ++c3}"); | |
print("PreFix Counter Result: ${c3 = ++c3}"); | |
print("PreFix Counter Result: ${c3 = ++c3}"); | |
print("PreFix Counter Result: ${c3 = --c3}"); | |
print("PreFix Counter Result: ${c3 = --c3}"); | |
print("PreFix Counter Result: ${c3 = --c3}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment