New to C++ and I'm having trouble calling my function : <pre><code>#include &lt;iostream&gt;
#include &lt;math.h&gt;

using namespace std;

int Square(int num, int&amp; Answer);
int Triangle(int num);

int main(int argc, char **argv)
{
    int num = -1;
    int Answer;
  //Prompts the user for the length of the sides and doesnt stop until they     enter a valid input
while(num &gt;= 6 || num &lt;= 1){
    cout&lt;&lt;"Enter a number from 1 to 6: ";

    cin&gt;&gt;num;
    }

Square(int num, int&amp; Answer);
Triangle(int num, int&amp;Answer);


}

int Square(int num, int&amp; Answer){
    Answer = num * num;
    cout&lt;&lt;Answer;
}

int Triangle(int num, int&amp; Answer){
    Answer = .5 * (num * num);
    cout&lt;&lt;Answer;
}
</code></pre>

<p>I'm not sure what I ma doing wrong but the error I keep getting is, expected primary-expression before 'int'</p>

<p>This is where the error is and it shows up on each instance of int</p>

<pre><code>Square(int num, int&amp; Answer);
Triangle(int num, int&amp;Answer);
</code></pre>
