Question: As developer for the program to measure the geometry shape, you need to calculate volume and surface area of a cube where the user can

As developer for the program to measure the geometry shape, you need to calculate volume and surface area of a cube where the user can key-in the length, d as the variable. You need to establish two functions named, Vol-Cube and Surf-Cube to calculate the volume and surface of a sphere with r is the variable, respectively. The volume, V and the surface area, Surf, of a sphere are given as follows: V = d3 (Equation 1.1) Surf = 6d (Equation 1.2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
