Description : Diameter, Circumference and Area of a Circle

Input from the user the radius of a circle as an integerPrint the diameter, circumference and area using floating point 3.14159
Use techniques in 2.7 or MaTH.PI in java.langFormulas:diameter = 2r
circumference = 2*PI*r
area = PI * r*rDo not store the results in a variable specify as a value in the printf statement circumference and area are floating point
Powered by