```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
double a,b,c;
cin>>a>>b>>c;
if((a+b)>c){
if(a>b&&(a-b)<c)
printf(“Perimetro = %.1lf”,a+b+c);
else if(a<b&&(b-a)<c)
printf(“Perimetro = %.1lf”,a+b+c);
else
printf(“Area = %.1lf”,0.5(a+b)c);
}
else{
printf(“Area = %.1lf”,0.5(a+b)c);
}
return 0;
}