Write ‘C++’ class for the following:

b) Write ‘C++’ class for the following:
To represent two-dimensional point (x, y), class should contain all different constructors
and methods to print point (x, y) format and also to add two points by adding their x and
y values.

Leave a Reply