nested if

Wrong way