how to get the area of a rectangle code example Example: area of rectangle Area of rectangle = Length * Width