T
he volume
of a sphere is given by
[2marks]
V
=
4
/
3
(
π
r
3
)
I
f
the radius is given by a va
riable
radius
of type
double,
write a java expression
for the volume
1 answer
volume = (4.0 / 3.0) * Math.PI * Math.pow(r, 3);