function  gr1(Which_problems)
%---------------------------------------------------------------
% CS211 Fall 2005 - Graded Review 1
% 
% STUDENT NAME: 
%
% problem function calls - DO NOT MODIFY THE CODE IN THIS SECTION!

if nargin == 0 % there was no input argument passed to the function
  Problem_numbers = 1:9;
else
  Problem_numbers = Which_problems;
end

for Problem = Problem_numbers
  fprintf('\nProblem %d\n\n', Problem)
  feval(['problem_', num2str(Problem)])
end

end % gr1

%---------------------------------------------------------------
% PROBLEM SOLUTION CODE - Insert your solutions between the 
%    function header and end line of each function below.
%
% Problem 1 Solution:

function problem_1()
end % problem_1

%---------------------------------------------------------------
%
% Problem 2 Solution:

function problem_2()
end % problem_2

%---------------------------------------------------------------
%
% Problem 3 Solution:

function problem_3()
end % problem_3
    
%---------------------------------------------------------------
%
% Problem 4 Solution:

function problem_4()
end % problem_4
    
%---------------------------------------------------------------
%
% Problem 5 Solution:

function problem_5()
end % problem_5    
    
%---------------------------------------------------------------
%
% Problem 6 Solution:

function problem_6()
end % problem_6    

%---------------------------------------------------------------
%
% Problem 7 Solution:

function problem_7()
end % problem_7    
    
%---------------------------------------------------------------
%
% Problem 8 Solution:

function problem_8()
end % problem_8    
    
%---------------------------------------------------------------
%
% Problem 9 Solution:

function problem_9()
end % problem_9  

% define function Valid_multiply here (don't forget the end line)
%---------------------------------------------------------------

% end of gr1.m