IF username and password are correct → Login successful ELSE → Login failed This works very well when the problem can be clearly described using rules. IF ears have this exact shape AND eyes have this ...