Please send questions to
st10@humboldt.edu .
/*-----
contract: main: void -> int
purpose: testing program for function ring_area
examples: prints the results of calling ring_area(5, 2) to the screen,
which should look like this:
65.9734
by: Sharon Tuttle
last modified: 4-17-07
-----*/
// uses cout, so need C++ standard library iostream;
// calls ring_area, so need ring_area.h
#include <iostream>
#include "ring_area.h"
using namespace std;
int main()
{
cout << ring_area(5, 2) << endl;
return EXIT_SUCCESS;
}