Question: 4. Geometry Functions Create 2 functions that calculate properties of a circle, using the definitions here. Create a function called calcCircumfrence: Pass the radius to

4. Geometry Functions

Create 2 functions that calculate properties of a circle, using the definitions here.

Create a function called calcCircumfrence:

Pass the radius to the function.

Calculate the circumference based on the radius, and output "The circumference is NN".

Create a function called calcArea:

Pass the radius to the function.

Calculate the area based on the radius, and output "The area is NN".

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!