using System;
namespace Solution {
class Solution {
static void Main(string[] args) {
double A,B,C;
double PI=3.14159;
string cadena =Console.ReadLine();
string [] ABC = cadena.Split(' ');
A= Convert.ToDouble(ABC[0]);
B= Convert.ToDouble(ABC[1]);
C= Convert.ToDouble(ABC[2]);
Console.WriteLine("TRIANGULO: " + "{0:f3}",(A*C/2));
Console.WriteLine("CIRCULO: " + "{0:f3}",(PI*Math.Pow(C,2)));
Console.WriteLine("TRAPECIO: " + "{0:f3}",C*((A+B)/2));
Console.WriteLine("CUADRADO: " + "{0:f3}",Math.Pow(B,2));
Console.WriteLine("RECTANGULO: " + "{0:f3}",(A*B));
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: