Difficulty:
Easy
Easy
Tags:
objects, geometry
objects, geometry
Instructions:
Defining collaborating objects can be useful to solve problems. For example a rectangle object might use point objects to represent its corners. Your task is to define a method to calculate the area of a Rectangle from its two corners
Defining collaborating objects can be useful to solve problems. For example a rectangle object might use point objects to represent its corners. Your task is to define a method to calculate the area of a Rectangle from its two corners
Problem and Solution:
No comments:
Post a Comment