Error: expected unqualified-id before 'if'

thanks for that catch, any suggestion on what to do?