Last active
April 19, 2016 12:37
-
-
Save goodmorningcody/b78902980810f1aa4b98 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
let year : Int = "2016" | |
let name : String = "Cody" | |
var age : Int = 20 | |
var born : Int = year-age+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment