Write a program to calculate the area of a Rectangle and a Triangle using inheritance from a superclass Dimension.
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results