title: How to define a function that returns a String in Objective-C / Iphone SDK
body: <p>I am an Objective C noob and need a bit of help.</p>
  
  <p>I need to pass a function 2 integers A and B.</p>
  
  <p>The called function then checks if A > B, A = B or A &lt; B and passes back a string.</p>
  
  <p>If A > B then it must pass back "HOT"</p>
  
  <p>If A = B then it must pass back "MEDIUM" </p>
  
  <p>If A &lt; B then it must pass back "COLD"</p>
  
  <p>Also how do I call this function from within another function?</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks.</p>