----------------------------------- jhooper3581 Mon Aug 31, 2009 2:17 am Write the source code ----------------------------------- Write a C++ source code that will read an input of radius of a circle and outputs the area of the circle. ----------------------------------- jhooper3581 Mon Aug 31, 2009 2:28 am ----------------------------------- My solution. [code]#include #include using namespace std; int main() { // Mathematically it's obvious that r>= 0, where r is the radius. double r; cout> r; const double PI(3.1416); double area(PI * pow(r, 2)); cout