Please send questions to st10@humboldt.edu .
/*--------------------------------------------------
created by smtuttle at Thu Oct 14 15:14:28 PDT 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
#include "circ_area.h"
using namespace std;


/*--------------------------------------------------
 Contract: circ_area : double -> double
 Purpose: expects the radius of a circle and produces
         the area of that circle

 Examples: circ_area(0) == 0
          abs(circ_area(10) - 314.159) < 0.001
--------------------------------------------------*/

double circ_area(double radius)
{
    return PI * radius * radius;
}