title: error: Iso c++ forbids comparison between pointer and integer [c++]
body: <p>I'm getting the error in title when trying to compile.</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int chance()
  {
  return rand()%11;
  }
  
  int main()
  {
  if (chance &gt; 5)
      cout &lt;&lt; "You win." &lt;&lt; endl;
  else
      cout &lt;&lt; "You lose." &lt;&lt; endl;
  return 0;
  }
  </code></pre>
  
  <p>This is my full code, I'm attempting to have it output You win or You lose, 50-50</p>