Calculates the area of a circle based on a radius inputted by the user
#include #include using namespace std; int main(void) { double radius, area; cout << "Enter radius of circle: "; cin >> radius; area = 3.14159 * pow(radius, 2); cout << "The area is " << area << endl; return 0; }