Write a C++ program to find the area of a triangle given its sides
#include < iostream >
#include < math.h >
using namespace std;
int main()
{
float s1,s2,s3,s,area;
cout<<ā enter the three sides of a triangle\nā;
cin>>s1>>s2>>s3;
s = (s1 + s2 + s3)/2;
area = sqrt(s*(s - s1)*(s - s2)*(s - s3));
cout <<"Area of a triangle given its sides are= " << endl<<area;
return 0;
}