Solution Review: Make a Rectangle
This lesson discusses the solution to the challenge given in the previous lesson.
We'll cover the following...
We'll cover the following...
In the above code, at line 4, we make a struct Rectangle containing two fields length and width of type int. Then, we have two important methods Area() and Perimeter(). Look at the header of Area ...