using System;
namespace ArchitectArithmetic
{
class Program
{
public static void Main(string args)
{
double resultOne = Rect(10, 5);
double resultTwo = Circle(2);
double resultThree = Triangular(3, 4);
Console.WriteLine(resultOne);
Console.WriteLine(resultTwo);
Console.WriteLine(resultThree);
}
static double Rect(double length, double width)
{
return length * width;
}
static double Circle(double radius)
{
return Math.PI * Math.Pow(radius, 2);
}
static double Triangular(double bottom, double height)
{
return 0.5 * bottom * height;
}
}
}