Question: Write a script file that calculates the volume and surface area of a cone if its radius is given as r-7 mm and its height
Write a script file that calculates the volume and surface area of a cone if its radius is given as r-7 mm and its height is given as h-15 mm. The surface area of a cone is given by A + r2 where 1 = vr4h2 and the volume is given by V =-2h. Use fprintf command to display the results with 2 decimal points in a descriptive text and include units (mm2 and mm). 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
