| 7 | using namespace std; |
| 8 | |
| 9 | float area(float radius) |
| 10 | { // function for calculating the area |
| 11 | float area; |
| 12 | area = (atan(1) * 4) * (pow(radius, 2)); //"atan" is the function which is finding the PI=3.14 |
| 13 | return area; |
| 14 | } // end function "area" |
| 15 | |
| 16 | int main1() |
| 17 | { |