Using if else rather than if if

Using if else rather than if if