What is wrong with this code?
let val = 5.0 + 10
5.0 and 10 are different types
5.0
10
There is no semicolon Reference: The Swift Programming Language: Language Guide: The Basics: Type Safety and Type Inference
val is a constant and cannot be changed
val
There is nothing wrong with this code