Help me in solving LB02B problem

My issue

For X = 3, Y = 4, Z = 12, The animal on the farm is ‘ANY’. and X = 3, Y = 5, Z = 9, The animal on the farm is ‘CHICKEN’ are only supposed to be the correct answers. But turns out it is not. What am I missing?
Learning course: C++ for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

Considered option 4? :wink:

1 Like