Question: I need code c ?? Problem: Find the volume of the cone. Use the formula as shown in the figure. The program should reject invalid

I need code c ??
Problem: Find the volume of the cone. Use the formula as shown in the figure. The program should reject invalid height and radius value. Volume of a Cone hxoxr2 Volume = 3 h = height of the cone (pi) = 3.14 = radius of the base of the cone Sample Output: Enter the radius and height of conne in cms: 56.5 76.5 Volume of cone is 244207.125000 cubic cms Process returned @ (exe) execution time : 11.006 s Press any key to continue. Enter the radius and height of conne in cms: @ 89.7 Invalid input Process returned @ (0x0) execution time : 4.827 s Press any key to continue. Enter the radius and height of conne in cms: 54.5 na Invalid input Process returned @ (exe) execution time : 4.362 s s Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
