% ifElse5.m   P.Conrad for CISC106, 07F
% practice problem to test knowledge of if/else

% Warning: this file may not be indented correctly.

x = 5;
if (x >= 9)
 fprintf('blue\n');
elseif (x <= 3)
 fprintf('red\n');
else
 fprintf('yellow\n');

fprintf('green\n');

end
