25. Define a class Coord having two members type int as x and y. Use this class to define
another class Rectangle which has two members of type Coord as UpperLeftCoord and
BottomRightCoord. Define the constructors and member functions to get the length and
breadth of rectangle. Write a global function which creates an instance of the class
Rectangle and computes the area using the member functions.
Answers
Answered by
1
Answer:
i am sorry nhiii ata plzzz follow me
Similar questions