using System; public class Point { private int x; private int y; public Point() { x = 0; y = 0; } public Point(int x, int y) { this.x = x; this.y = y; } public void SetX(int x) { this.x = x; } public int GetX() { return x; } public void SetY(int y) { this.y = y; } public int GetY() { return y; } public override string ToString() { return $"({x}, {y})"; } } public class Program { public static void Main() { Point origin = new Point(); Point meetingPoint = new Point(4, 7); meetingPoint.SetX(6); meetingPoint.SetY(8); Console.WriteLine($"Origin: {origin}"); Console.WriteLine($"Coordinates: {meetingPoint.GetX()}, {meetingPoint.GetY()}"); } }