class triangle\r(\rpublic double c(double a, double b, double c)\r(\rdouble zc;\rzc = a + b + c;\rreturn zc;\r}\rpublic double s(double a, double b, double c)\rdouble mj,sl;.\rsi = (a + b + c) / 2;\rmj = Math.Sqrt(sl*(sl-a)*(sl-b)*(sl-c));\rreturn mj;\r)\r0\rclass Program\r(\rstatic void Main(string[] args)\r(\rtriangle tr=new triangle ();\rdouble x, y, z;\rConsole. WriteLine(">!" ?@");\rx = double. Pa rse(Console.ReadLine());\ry = double.Parse(Console.ReadLine());\rz = double.Parse(Console.ReadLine());\rif ((x + y >z && x - y < z) && (x + z > y && x - z < y) && ((y + z) > x && (y - z < x)))\r(\rConsole.WriteLine(" ?-.A 00tr.c(x, y, z));\rConsole.WriteLine(" ???A 00tr.s(x, y, z));\r)\relse\rConsole.WriteLine(" @B: