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:
A = πr2
C = 2πr
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
If you are not sure on any part of the problem, just ask me and I will give you additional information.
This is a 2 part assignment. Part A is due the first week and then part B is due the second.
The final assignment MUST be in one (1) *.pdf file when you are submitting each part
Part A:
Document Name
ensure it is the assignment #, course code and your full name
Cover Page
this will include the assignment #, course code and your full name
Check List
documenting the parts of the assignment that are to be included and stating that you have included them
Design Document(s):
this includes Story Board(s) and flowchart(s)
Test Cases:
at least three (3) test cases (maybe more if it is needed!) done by some other method than your (or some else's) program
Part B:
Accept this assignment
Write the code in Python to implement your program design from part A.
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.