Calculating Areas of Triangle and Rectangle

# Introduction In this lab, you will create a program to find the areas of a triangle and a rectangle using a friend class, where the formulas to calculate the areas are provided and implemented in separate classes, and a separate class is used to calculate and return the areas of the shapes.

|60 : 00

Click the virtual machine below to start practicing