public static void Main()
double x1,y1,x2,y2,x3,y3,a;
Console.WriteLine("ادخل النقطه الاولى");
x1=double.Parse(Console.ReadLine());
y1=double.Parse(Console.ReadLine());
Console.WriteLine("ادخل النقطه الثانيه");
x2=double.Parse(Console.ReadLine());
y2=double.Parse(Console.ReadLine());
Console.WriteLine("ادخل النقطه الثالثه");
x3=double.Parse(Console.ReadLine());
y3=double.Parse(Console.ReadLine());
a=Math.Sqrt((Math.Pow(x2,2)-Math.Pow(x1,2))+(Math.Pow(y2,2)-Math.Pow(y1,2)));