Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3
Write a function that will receive the radius r of a sphere. It will calculate and return the volume of the sphere (4/3 7 23). If the function call expects two output arguments, the function will also return the surface area of the sphere (4 7 r?). When any other number of values (zero or more than 2) are expected by the user, then the following warning is printed. 7T "This function cannot operate"
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!