Last active
November 7, 2019 10:55
-
-
Save 40823237/7dd6848df25679103734f72f44602625 to your computer and use it in GitHub Desktop.
sum.dart
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
int i; | |
int sum; | |
main(){ | |
sum = 0; | |
for(i=1;i <= 10 ;i++){ | |
sum += i; | |
print("$sum"); | |
} | |
print('sum = $sum'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment