Ask a New Question
Search
Asked by
Thuto
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
Answers
Answers
Answered by
Steve
volume = (4.0 / 3.0) * Math.PI * Math.pow(r, 3);
Related Questions
Related
Using the volume of the sphere: V =(4/3)πr³ If the RADIUS of the MSG square is 258 feet, The volum...