void describeRectangle(int width, int height) {
    IO.println("A " + width + " by " + height + " rectangle has area " + (width * height) + ".");
}

void main() {
    describeRectangle(7, 4);
    describeRectangle(4, 7);
}

// From Groundwork, chapter 6 (ch06-methods), box 3.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch06_03.java
