function gluttony_counter(number, food)
%
% First, print a text message describing your personal
%   record for eating a large amount of food.
%   Use the input arguments to modify the 
%   statement.
%
% Then, enter a loop in which a line is printed
%   to represent each serving as it is eaten.
%   After we have reached the last serving,
%   print a special line to indicate that the
%   meal is over.
%
% Usage:  glutton_counter   number  food
%
% where
%            number         is how many servings were eaten
%
%            food           is the type of food which was eaten
%
% Returns: nothing
%
% MWR 11/27/2012


fprintf(1, 'I once ate %d servings of %s \n', number, food);

for i = 1 : number
    fprintf(1, ' %s number %2d ... chomp \n', food, i);
end
fprintf(1, ' burp \n');


end

