#include <iostream>
#include <math.h>
using namespace std;
float area(float a,float b,float c)
{
float s=(a+b+c)/2.0;
float ar=sqrt(s*(s-a)*(s-b)*(s-c));
return ar;
}
#include <math.h>
using namespace std;
float area(float a,float b,float c)
{
float s=(a+b+c)/2.0;
float ar=sqrt(s*(s-a)*(s-b)*(s-c));
return ar;
}
No comments:
Post a Comment