#include <bits/stdc++.h>
using namespace std;
double p,a,b,c,cv,s;
int main()
{
cin>>a>>b>>c;
cv=a+b+c;
p=cv/2;
s=sqrt(p*(p-a)*(p-b)*(p-c));
cout<<fixed<<setprecision(2)<<cv<<endl;
cout<<fixed<<setprecision(2)<<s;
return 0;
}
Đúng 0
Bình luận (0)