This is what I'm suppose to do if it helps any....

Code:

Compute the area (A) and the volume (V) of a sphere with
radius R=1.0, R=1.1, R=1.2, ... , R=2.0 . Compute also the
total area (TA) and the total volume (TV) of all eleven spheres
together.
Define PI by using #define and use a for-loop to repeat
calculations for different values of R. (Use PI=3.141593 and
recall the elementary formulas A=4*PI*R*R and V=4*PI*R*R*R/3).
For each sphere, print in one line
Sphere (k) Radius = "number" Area = "number" Volume = "number"
At the end, in a separate line, print
Total Area = "number" Total Volume = "number"
Use the output specifier 2d for k (k is a sequential number of the sphere),
4.1f for R, and 7.3f for A, V, TA, and TV.
..........................................................................
Your output should look like this:
Sphere ( 1) Radius = 1.0 Area = 12.566 Volume = 4.189
Sphere ( 2) Radius = 1.1 Area = 15.205 Volume = 5.575
Sphere ( 3) Radius = 1.2 Area = 18.096 Volume = 7.238
Sphere ( 4) Radius = 1.3 Area = 21.237 Volume = 9.203
Sphere ( 5) Radius = 1.4 Area = 24.630 Volume = 11.494
Sphere ( 6) Radius = 1.5 Area = 28.274 Volume = 14.137
Sphere ( 7) Radius = 1.6 Area = 32.170 Volume = 17.157
Sphere ( 8) Radius = 1.7 Area = 36.317 Volume = 20.580
Sphere ( 9) Radius = 1.8 Area = 40.715 Volume = 24.429
Sphere (10) Radius = 1.9 Area = 45.365 Volume = 28.731
Sphere (11) Radius = 2.0 Area = 50.265 Volume = 33.510
Total Area = 324.841 Total Volume = 176.243