Assignment 2

Area and Circumference of a Circle

Do I need that PI thing again?

Yes, you do need that Pi thing. Given the radius of a circle you can figure out the area and circumference of a circle using the following formulas:


Here is the problem

Create a program that calculates the area and circumference of the circle when a user enters the diameter. 


Things to note

Part A:


Part B:


Bonus

I can get a bonus? Yes you can! 

If you complete just the above part of the assignment in Python, you will be marked out of 3+. You will be marked out of 4+ if you do the programming in PHP with MDL as well.