#include <iostream>
#include <cmath>
using namespace std;
int main(){
double a, b, c;
cin >> a >> b >> c;
double sum = a+b+c;
double pr = a*b*c;
cout << "a+b+c = " << sum << endl;
cout << "a*b*c = " << pr << endl;
cout << "(a+b+c)^2 = " << sum*sum << endl;
cout << "sqrt(a*b*c) = " << sqrt(pr) << endl;
return 0;
}
var a,b,c:real;
begin
readln(a,b,c);
writeln(sqr(a+b+c):8:3, sqrt(a*b*c):10:3);
end.
#include <iostream>
#include <cmath>
using namespace std;
int main(){
double a, b, c;
cin >> a >> b >> c;
double sum = a+b+c;
double pr = a*b*c;
cout << "a+b+c = " << sum << endl;
cout << "a*b*c = " << pr << endl;
cout << "(a+b+c)^2 = " << sum*sum << endl;
cout << "sqrt(a*b*c) = " << sqrt(pr) << endl;
return 0;
}
var a,b,c:real;
begin
readln(a,b,c);
writeln(sqr(a+b+c):8:3, sqrt(a*b*c):10:3);
end.