Implement a new class for POINT data type in VISUAL C# to cover all requirements below: Attributes
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement a new class for POINT data type in VISUAL C# to cover all requirements below: Attributes of a point are coordinates on X and Y axes. - The coordinates of point can be automatically initialized by one of following ways: 1) Inside the Class with default value which is the Origin. 2) From the Program 3) By User The operations are as follows: 1) Display the Attributes of a point 2) Calculate the distance from the Origin (using Euclidean Distance). 3) Specify the position of the point which can be: On x-axis, On y-axis, On Quadrant I, On Quadrant II, On Quadrant III, On Quadrant IV or On Origin. 4) Calculate the distance between two points (using Euclidean Distance). (12 Points)
Posted Date: