Created
August 24, 2016 15:26
-
-
Save CastIrony/e86fb261686dfcb76764aa8ea877a68c 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
guard | |
!arguments.isEmpty, | |
nums.count = arguments.count | |
else | |
{ | |
print("Usage: \(appName) <list-of-positive-integers>") | |
exit(-1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment