What is wrong with this code?
var x = 5 x = 10.0
x is undefined
x
You cannot assign a Double to a variable of type Int
x has no type Reference: The Swift Programming Language: Language Guide: The Basics
x is a constant