title: error expected primary-expression before ')' token
body: <p>14:15: error: expected primary-expression before ')' token and
  18:20: error: expected primary-expression before ')' token</p>
  
  <p>here's my code</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  int main () 
  {
     // local variable declaration:
     int a;
     cout&lt;&lt;"masukkan operasi = "; cin &gt;&gt; a;
     int angka1;
     cout&lt;&lt;"masukkan angka = ";cin &gt;&gt; angka1;
     int angka2;
     cout&lt;&lt;"masukkan angka = ";cin &gt;&gt; angka2;
     if( a == + ) 
     {
        cout &lt;&lt;"Hasil = " &lt;&lt; angka1+angka2 &lt;&lt;endl ; //hasil
     } 
     else if( a == * ) 
     {
         cout &lt;&lt;"Hasil = " &lt;&lt; angka1*angka2 &lt;&lt;endl ;
     }
  }
  </code></pre>
  
  <p>pls help me, i'm new to c++</p>