Example Calculate the area of a rectangle. When the input is a square, the length and width are equal.
Example: classes that convert degrees Celsius and Fahrenheit to each other