title: Error expected primary-expression before 'if'
body: <p>I am just a student and beginning to learn C programming, so I am not really on an advanced level.</p>
  
  <p>I have this piece of code, and I guess that it is pretty easy to understand what I am trying to do. However I get an error saying an error before if.</p>
  
  <p>I suspect that the problem is my if-else statement in between the if and else. How would you guys solve it?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;iostream&gt;
  int main ()
  {
  int N;
  scanf("%i",&amp;N);
  if (N &gt; 50)
          (if (N &gt; 75)
              N = N - 25;
              N = N - 10;
          )
  else
          N = N + 10;
  printf("%i",N);
  }
  </code></pre>