Example of nested conditions

This example illustrates nested conditions.