/*:
 ## Exercise - Ternary Operator
 
 Refactor the code below so that `largest` is declared and assigned to in one line using the ternary operator.
 */
let number1 = 14
let number2 = 25

var largest: Int
if number1 > number2 {
    largest = number1
} else {
    largest = number2
}

//: [Previous](@previous)  |  page 8 of 9  |  [Next: App Exercise - Ternary Messages](@next)
