-
Computers & ... Master
8,093 Answers
- Posted on Dec 31, 2013
Re: Program that will compute the volume of a cone
Volume of right circular cone is (1/3)*PI*(r^2)*H
Define real variables r, h
Define constant PI or use built in name.
Prompt for input r=?
Read value and store in r
Prompt for height H=?
Read value and store in H.
Print Volume =, (1/3)PI*r^2*H, unit^3
×