title: C++ If statement error: expected ';' before '{' token
body: <p>I was writing this out for fun:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdlib&gt;
  using namespace std;
  
  int Arsenal = rand()%3;
  int Norwich = rand()%3;
  
  int main () {
    if (Arsenal &gt; Norwich) {
      cout &lt;&lt; "Arsenal win the three points, they are in the Top Four";
      return 0;
    } else if (Arsenal == Norwich) {
      cout &lt;&lt; "The game was a draw, both teams gained a point";
      return 0;
    } else (Norwich &gt; Arsenal) {
        cout &lt;&lt; "Norwich won, Arsenal lost";
        return 0;
      }
  }
  </code></pre>
  
  <p>and I tried to compile it in g++, yet I get this error:</p>
  
  <pre><code>arsenalNorwich.cpp: In function, 'int main'
  arsenalNorwich.cpp:15:30: error: expected ';' before '{' token
  </code></pre>
  
  <p>I have no idea what I did wrong, and neither does the CS tutor at my school. Although it's just for fun, it's driving me crazy.</p>