completed exercise on if

Code Up exercise for if.