title: binary operator / cannot be applied to operands of type Int and Double
body: <p>Hello brand new to Swift, and programming in general. Going through an exercise the code given is exactly:</p>
  
  <pre><code>//: Playground - noun: a place where people can play
  
  import UIKit
  
  let height = 12
  let width = 10
  
  
  let area = height * width
  
  let areaInMeters = area / 10.762
  </code></pre>
  
  <p>But I get the error, "binary operator / cannot be applied to operands of type Int and Double".</p>
  
  <p>After some digging around I found you can't operate on both an Integer and a Double. So I changed the last line to:</p>
  
  <pre><code>let areaInMeters = (Double)area / 10.762
  </code></pre>
  
  <p>Then I get the error, "Consecutive statements on a line must be separated by a ;" and it wants me to put the ; after area. None of this is making any sense to me.</p>
  
  <p>Using El Capitan beta and Xcode 7 beta.</p>