# 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.
Click the virtual machine below to start practicing