I am new at programming and need help:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a, b, c, area, tri_area;
area = tri_area(a, b, c);
if area (area>0);
cout << "Area is "<<area<<"!"<<endl;
cout << " Those values tri_angle " <<endl;
}
double tri_area (double a, double b, double c)
{
double s, t, area;
s = (a + b + c)/2;
t = s*(s-a)*(s-b)*(s-c);
if (t>0)
area=sqrt(t);
else area = -1;
return area;
}