public Point(double x, double y)
public static void Number(int n)
for (int i = 0; i < n; i++)
Console.WriteLine("enter point");
double x1 = double.Parse(Console.ReadLine());
double y1 = double.Parse(Console.ReadLine());
double Distance1 = Math.Sqrt(Math.Pow(x1, 2) + Math.Pow(y1, 2));
if (Distance1 < Distance2)
Console.WriteLine("The closest point from the beginning of the axes is: (" + x + "," + y + ") in distance of: " + Distance);
public static void Main()