Răspuns:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{ int a, b, c;
cout<<" a=" ; cin>>a;
cout<<"b=" ; cin>>b;
cout<<"c=" ; cin>>c;
if((a!=0)&&(b!=0)&&(c!=0)) cout<<sqrt(a*b*c) ;
else if ((a>b) & & (b>c)) cout<<a<<">" <<b<<">" <<c;
else if ((a>b) & & (b<c)) cout<<a<<">" <<c<<">" <<b;
else if ((a<b) & & (b>c)) cout<<b<<">" <<a<<">" <<c;
else if ((a<b) & & (b<c)) cout<<c<<">" <<b<<">" <<a;
return 0;
}