title: I need help debugging a basic C program to calculate Fibonacci numbers
body: <pre><code>#include &lt;stdio.h&gt;
  int main(); 
  {
      int a;
      int b;
      int c;
      a = 1;
      b = 1;
      c= 2;
      for ()
      {
          a = c + b;
          printf(a,"\n");
          b = c + a;
          printf(b,"\n");
          c = a + b;
          printf(c,"\n");
      }
  }
  </code></pre>
  
  <p>I am a beginner at C and am trying to write a program to list the Fibonacci sequence.</p>
  
  <p>This is what I have so far. I know I have at least two issues, one being the for loop. How would I make it an infinite loop?</p>
  
  <p>My second issue that I'm running into is this error message </p>
  
  <pre><code>"prog.c:3:1: error: expected identifier or '(' before '{' token
   {
   ^"
  </code></pre>
  
  <p>If someone could help that would be much appreciated. </p>