Question: const double PI = 3 . 1 4 1 5 9 ; double radius, area; / / Ask the user for the radius cout <

const double PI =3.14159;
double radius, area;
// Ask the user for the radius
cout << "Women: 580.94 calories
";
cin >> radius;
// Calculate the area
area = PI * radius * radius;
// Display the area
cout << "Men: 891.47 calories"
<< setprecision(2)<< area << endl;
return 0;
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!