Question: Write a script that calculates the area of a disk and the volume of a sphere with a radius = 1 0 0 cm .

Write a script that calculates the area of a disk and the volume of a sphere with a radius =100
cm.
Let your program require you to enter the value of radius from the command line in units of cm.
The output of your code should be the area of the disk in m2 and the volume of the sphere m3

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!