Declare a new variable with var, followed by a name, type, and value:
var num: Int = 10
Variables can have their values changed:
num = 20 // num now equals 20
Unless they're defined with let:
let num: Int = 10 // num cannot change
Swift infers the type of variable, so you don't always ha...