//1.1 Sum
var a = 35
var b = 23
var sum = a + b

print("The sum is \(sum)")

//1.2 Seconds
var sec = 30
var secondsInAYear = sec

//1.3 Pixels
let width = 4
let height = 5
var totalPixels = width * height
print("The area is \(totalPixels)")

//1.5 Swap
var num1 = 15
var num2 = 90
var temp = 0

temp = num1
num1 = num2
num2 = temp
print(num2)
print(num1)

//1.7 Dog Years
var rockysAge = 24
var humanAge = rockysAge / 7

print("Rocky's age in human years is \(humanAge)")