Challenge: Make a Rectangle

This lesson brings you a challenge to solve.

We'll cover the following

Problem statement

Define a struct Rectangle with int properties length and width. Give this type two methods Area() and Perimeter() and test it out.

Get hands-on with 1400+ tech skills courses.