(Practice) Write, compile, and run a C++ program that displays the following prompt:
Enter the radius of a circle:
After accepting a value for the radius, your program should calculate and display the area of the circle. (Hint: Area = 3.1416 . radius2.) For testing purposes, verify your program by using an input radius of 3 inches. After manually determining that your program’s result is correct, use your program to complete the following chart:
Radius (in) | Area (sq. in) |
1.0 |
|
1.5 |
|
2.0 |
|
2.5 |
|
3.0 |
|
3.5 |
|
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.