title: Simple C Error: “… undeclared (first use this function)”
body: <p>I am working on my first C program for school. For some reason I am getting the following error when I try to compile it</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int multiplication()
  {
      int i, j, k;
  
      for ( i = 0; i &lt; 10; i++) {
          for (j = 0; j &lt; 10; j++) {
              for (k = 0; k &lt; 10; k++) {
               if (x[k] == 0)
                return 0;
               a[i] = a[i] + b[j] / x[k];
              }
          }
      }
      return 1;
  }
  </code></pre>