function area = areaOfPizza(diameter)
%areaOfPizza compute area of pizza, given diameter
%
% consumes: 
%     diameter: number, diameter of the pizza in inches
% produces:
%     area: number, area of the pizza in square inches
%     
% examples
%     >> areaOfPizza(12)
%     ans = 113.10
%     >> areaOfPizza(16)
%     ans = 201.06
%     
% P.Conrad  CISC106 section 99, 09/03/2007
  
  radius = diameter / 2;
  area = pi * radius ^ 2;
  return;
  
end % function
