0

**Hi I need to create a void function to calculate area and circumfernce of triangle.****So far I did this:**

void area(int a, int b, int c )

{

using namespace std;

int area;

int circ;

int s;

s = ((a + b + c)/2);

if ((a + b > c) && (b + c > a) && (a + c > b))

{

area = sqrt(s(s-a)(s-b)(s-c));

}

else

cout << "Its not a triangle" << endl;

}

int main() {

int side1, side2, side3;

cout << "Enter three lengths of the triangle sides: ";

cin >> side1 >> side2 >> side3;

cout << "The area of the triangle is " << area(side1, side2, side3) << endl;

return 0;

}

**but it doesn't want to work!****What I am doing wrong?****Please help!!!**