%Description: A user interface, prompts user for radius, displays area of
%circle.
%Contract: user input -> print 
%Author: Terry Harvey  CISC106-10  TA: James Jamerson
%Example:
%>>  getCircleArea()
%Please enter the radius: 5
%Area of the circle is 78.539816
function [] = getCircleArea()
  

  radius = input('Please enter the radius: ');  
  
  area = circleArea(radius);

  fprintf('Area of the circle is %f\n', area);

  %We could also say: fprintf('Area of the circle is %f\n', circleArea(radius)) 
  %because a function call is an expression.