Temp Swift
Saturday, 25 February 2017
Constant
1.
let constA = 42
print(constA)
2.
// TYPE ANNOTATION
let constB:Float = 3.14159
print(constB)
3.
let constA = "Godzilla"
let constB = 1000.00
print("Value of \(constA) is more than \(constB) millions")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment