\[\begin{array}{l}
\mathbf{if}\;a \lt b:\\
\;\;\;\;\frac{\sqrt{\left(\left(\left(c + \left(b + a\right)\right) \cdot \left(a - \left(c - b\right)\right)\right) \cdot \left(a + \left(c - b\right)\right)\right) \cdot \left(c + \left(b - a\right)\right)}}{4}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{\left(\left(\left(c + \left(a + b\right)\right) \cdot \left(b - \left(c - a\right)\right)\right) \cdot \left(b + \left(c - a\right)\right)\right) \cdot \left(c + \left(a - b\right)\right)}}{4}\\
\end{array}\]
\begin{array}{l}
\mathbf{if}\;a \lt b:\\
\;\;\;\;\frac{\sqrt{\left(\left(\left(c + \left(b + a\right)\right) \cdot \left(a - \left(c - b\right)\right)\right) \cdot \left(a + \left(c - b\right)\right)\right) \cdot \left(c + \left(b - a\right)\right)}}{4}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{\left(\left(\left(c + \left(a + b\right)\right) \cdot \left(b - \left(c - a\right)\right)\right) \cdot \left(b + \left(c - a\right)\right)\right) \cdot \left(c + \left(a - b\right)\right)}}{4}\\
\end{array}double code(double a, double b, double c) {
double VAR;
if ((a < b)) {
VAR = ((double) (((double) sqrt(((double) (((double) (((double) (((double) (c + ((double) (b + a)))) * ((double) (a - ((double) (c - b)))))) * ((double) (a + ((double) (c - b)))))) * ((double) (c + ((double) (b - a)))))))) / 4.0));
} else {
VAR = ((double) (((double) sqrt(((double) (((double) (((double) (((double) (c + ((double) (a + b)))) * ((double) (b - ((double) (c - a)))))) * ((double) (b + ((double) (c - a)))))) * ((double) (c + ((double) (a - b)))))))) / 4.0));
}
return VAR;
}