...

/

Challenge: Advancing the Shapes Analysis

Challenge: Advancing the Shapes Analysis

This lesson brings you a challenge to solve.

We'll cover the following...

Problem statement

Expand the same program given below, define a type Triangle, and let it implement AreaInterface. Test this by calculating the area of a specific triangle.

Area of a triangle = 0.5∗(b ...