Question: Write a program that computes the volume of a cone. Suppose the radius of the base is represented by r and the height by h,
Write a program that computes the volume of a cone. Suppose the radius of the base is represented by r and the height by h, then the volume is V = r 2h 3 . Remember that = 3.1416.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
