Giarc86
Expert Member
- Joined
- May 28, 2008
- Messages
- 1,243
- Reaction score
- 4
I need to write a function that when a user enters a radius of a sphere, the function must calculate and display the volume of the sphere.
I need to use:
I have been trying and googling but just can't seem to get it right.
Thanks
I need to use:
to calculate it.volume = (4.0/3.0) * Math.PI * Math.pow(radius, 3);
I have been trying and googling but just can't seem to get it right.
Thanks