clear;
d='rice';
switch(d)
    case {'rice','bread'}
        c='food';
    case {'red','blue','green'}
        c='color';
    case {'rice','oats'}
        c='plant';
    otherwise
        c='not sure';
end
printf('%s is %s \n',d,c)
