Question: You learned how to create variables and work with input and output functions in class. Now you will write a program that calculates the perimeter

You learned how to create variables and work with input and output functions in class. Now you will write a program that calculates the perimeter of a circle using these skills. Your program must include the following: Two variables to store the perimeter and the radius One constant to store pi (Set it equal to 3.14159) An input function to accept input from a user for radius A calculation of the perimeter using the formula : 2pir

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!