Class Vector - operations on vectors#9073

Class Vector - operations on vectors

1 second
64 megabytes
Very easy

Create a class named Vector that represents a vector on the plane with two coordinates: and .

Implement the following constructors for this class:

Implement the following methods:

Overload the following operators:

Submit only the implementation of the class. The solution will be evaluated in the programming languages C++ and C#.