added an else if statement

added an else if statement and printed