title: How do I get rid of this error
body: <p>When I put it in the case statement as 1, I get an error
  How do I get this to run and use case statements?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  int fib(int n)
  {
     if ( n &lt;= 1 )
        return n;
     return fib(n-1) + fib(n-2);
  }
  
  int main ()
  {
    int n ;
      printf("Enter Number to Compute nth Fibonacci Series");
      scanf("%d",&amp;n);
    printf("\n%dth term of fibonacci series number is %d",n, fib(n));
  
    return 0;
  }
  </code></pre>