bBirdIsHungry=input('Is the Bird Hungry? [1/0]');
bItRains=input('Does it Rain? [1/0]');%You can get yes or no if you want. I just kept it simple
if bBirdIsHungry&& bItRains %Logical operator
disp('the Bird Eats')
elseif ~bBirdIsHungry&& bItRains%Logical Operators
disp('the Bird Eats')
...
...%all other ifs and elses
...
end
An architectural suggestion is you can write a truth table depending on the two inputs and create output. That will simplify the equation(no of IFs and elses)
