Syntax error,I do not know how to correct C++ code. (homework project)
<pre><code>#include &lt;iostream&gt;  
using namespace std;

int main()
{
  // prototypes:

  float add_and_div(float, float, float);

  // variables:

  float x, y, z;
  float result;

  cout &lt;&lt; "Enter three floats: ";
  cin &gt;&gt; x &gt;&gt; y &gt;&gt; z;

 // continue the program here
  add_and_div(x,y,z,);
</code></pre>

<p>When I try to compile, I get the following error message:syntax error : ')'
1>
1>Build FAILED.</p>
