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
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 m and the volume of the sphere m
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
