Created
February 21, 2018 02:10
-
-
Save anders-sandholm/2bec1e41cae30f42c29d76d0c3603226 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() { | |
List<int> prices = ['99', '27', '10000', '20000000']; | |
// Sort in place from smallest to largest | |
prices.sort(); | |
print('Lowest price is ${prices[0]}!'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment