//P408
#include<iostream>
#include<cmath>
using namespace std;intmain(){
double a,b,c;
cout<<"please input three numbers:"<<endl;
cin>>a>>b>>c;if(a>0&&b>0&&c>0){
if((a+b)>c&&(a+c)>b&&(b+c)>a){
double s=(a+b+c)/2;
cout<<"the triangle's area:"<<sqrt(s*(s-a)*(s-b)*(s-c))<<endl;}else{
cerr<<"It is not a triangle!"<<endl;}}else{
cerr<<"It is not a triangle!"<<endl;}return0;}