this is my function
double area (int side_a, int side_b, int side_c)
{
double semi;
double area_ans;
semi = semi_peri (side_a, side_b, side_c);
area_ans = (sqrt(semi * (semi - side_a)(semi - side_b) (semi- side_c)));
return area_ans;
}
double semi_peri (int side_a, int side_b, int side_c)
{
double semi_ans;
semi_ans = (side_a + side_b + side_c) / 2;
return semi_ans;
}
my compiler is giving me a error at the red part of my code.
the error is error C2064: term does not evaluate to a function taking 1 arguments.
please help me