What is wrong with this code?
var x = 5 x = 10.0
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
x is undefined
x is a constant