Question: Programming Exercise 0 2 ( suggested filename: Instructions: Write a program that takes the radius of a sphere ( a double or floating - point

Programming Exercise 02(suggested filename:
Instructions:
Write a program that takes the radius of a sphere (a double or floating-point number) as input and then outputs the spheres:
Diameter =(2\times radius)[diameter =2* radius]
Circumference =(diameter \times \pi )[circumference = diameter * math.pi]
Surface area =(4\times \pi \times radius2)[surface area =4* math.pi * radius * radius]
Volume =(4/3\times \pi \times radius3)[volume =4/3* math.pi * radius * radius * radius]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!