title: Function with multiple parameters in swift
body: <p>I need to define and call a function called <code>areaOfRectangle</code> that takes two <code>Int</code> parameters, <code>length</code>, and <code>width</code>, and prints the result of <code>length * width</code>.  I actually got result with <code>length * width</code> but it is telling me to make sure I’m defining a function with the correct name and parameters. The answer below will print <code>length * width</code> which is right but the steps are not what it should be.</p>
  
  <pre><code>func areaOfRectangle(length: Int, width: Int) {
  
      print(“length * width”)
  
  }
  
  areaOfRectangle(length: 0, width: 0)
  </code></pre>