...

/

Challenge: Overload the Operators for Vectors

Challenge: Overload the Operators for Vectors

Overload the operators for Vector class.

Problem statement

In this challenge, you are required to overload the following three operators for the Vector class we implemented in the previous lesson:

  • -: Unary negation operator
  • -: Subtraction operator

In the case of ...